CoreAuthUI crashes with NSInvalidArgumentException when running Apple sample code in Xcode 12 beta

Originator:serieuxchat
Number:rdar://FB7874732 Date Originated:2020-07-09
Status:Open Resolved:
Product:Simulator Product Version:12.0 beta 3 (12A8169g)
Classification:Crash Reproducible:Always
 
CoreAuthUI crashes with NSInvalidArgumentException when running Apple sample code in Xcode 12 beta

When running Apple sample code https://developer.apple.com/documentation/localauthentication/logging_a_user_into_your_app_with_face_id_or_touch_id on an iPhone X Simulator (iOS 14), CoreAuthUI crashes.

1. Download Apple sample code https://docs-assets.developer.apple.com/published/fbfd13f4d9/LoggingAUserIntoYourAppWithFaceIDOrTouchID.zip
2. Open the project in Xcode 12 beta 2
3. Compile for iPhone X Simulator (iOS 14) or for any Simulator device with the FaceID (iOS14).
4. Run the sample app.
5. Click on Log In

What did you expect to happen?
I expected a FaceID authentication HUD to be shown.

What actually happened?
A pop-up appears saying "CoreAuthUI quit unexpectedly"

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!