There is a new privacy NSFaceIDUsageDescription
Info.plist key in the Xcode 9 GM where a developer supplies the usage description for the permissions alert. Does anyone have a link to docs on it? The plist view in Xcode summarizes it as:
Privacy - Face ID Usage Description
To use Face ID or Touch ID, the user must set up their device so that a passcode or password is required to unlock it. When Face ID or Touch ID detects a successful match, the user's device unlocks without asking for the device passcode or password.
On the Login screen, you will have the option to Enable Face ID. If you select the option and confirm the permissions to use this feature, Face ID starts detecting your face. If your face recognition fails, an appropriate message displays.
iOS. Sticky Password supports fingerprint and facial authentication on iOS devices. You can unlock your password database on iOS smartphones and tablets using Touch ID or Face ID recognition.
Now further explained in the above mentioned forum (by an Apple employee) https://forums.developer.apple.com/message/265156:
Face ID requires adding a usage string with the key NSFaceIDUsageDescription (aka Privacy - Face ID Usage Description) to your app's Info.plist.
In the simulator, the Face ID permissions alert will show "This app was designed to use Touch ID and may not fully support Face ID" if that key is missing. On an actual device, your app will crash the same as if any other required usage string is missing.
maybe I'm later to the party but you can fix this just by adding this
<key>NSFaceIDUsageDescription</key> <string>$(PRODUCT_NAME) Authentication with TouchId or FaceID</string>
to Project-Info.plist
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With