Touch ID and the Simulator

Hi,

Is their anyway to test Touch ID (I know Face ID works) on the Simulator? When I try now, it always comes up with "User Auth. Required."


Thanks,

Dan Uff

Accepted Reply

Assuming you're using the suggestion here...


https://stackoverflow.com/questions/41741640/using-touchid-on-emulator/41741784


...and it's not cooperating, did you try a reset as well?

Replies

Assuming you're using the suggestion here...


https://stackoverflow.com/questions/41741640/using-touchid-on-emulator/41741784


...and it's not cooperating, did you try a reset as well?

This worked well (on iPhone 6s, 7 simulators ; on iPhoneX, for faceID)


https://stackoverflow.com/questions/47159066/can-we-test-face-id-in-simulator


First time you launch the app, select Hardware > TouchID > enrolled.

Launch again

Then you just have to select Hardware > TouchID > Matching Touch


to get a successful result.


For FaceID, you need to complement the info.plist to request authorization

Oh, I never even thought about changing the simulator to a non Face ID device (I know, long week!)


Thanks again,

Dan.