Xcode9b3: touchID not working in simulator
| Originator: | markd | ||
| Number: | rdar://33355624 | Date Originated: | 7/17/2017 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Version 9.0 beta 3 (9M174d) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
hi! I try to use the touchID stuff in the simulator, and it says that the device doesn't support biometrics. Works fine in Xcode 8.
Please see the movie at this dropbox link - https://www.dropbox.com/s/redacted/xc9-touch-id.mp4?dl=0 that shows the same project (attached) working in Xcode8 but not working in Xcode9
Steps to Reproduce:
Have code that uses the local authorization framework, LAContext's canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics,...)
Run in the simulator
Turn on touchID enrollment
do something that calls canEvaluatePolicy
Expected Results:
Get the touchID challenge alert
Observed Results:
Could not evaluate policy. Error Domain=com.apple.LocalAuthentication Code=-6 "Biometry is not available on this device." UserInfo={NSLocalizedDescription=Biometry is not available on this device.}
Version:
Version 9.0 beta 3 (9M174d)
10.12.5 (16F73)
Notes:
Configuration:
Works fine in Xcode8. See attached mov-ay
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
OMG FIXED. Xcode9b5.