theappbusiness / TABTestKit

Library designed to make writing and maintaining automated tests for iOS applications. This includes automation of bio-metrics and controlling of mock servers
MIT License
59 stars 13 forks source link

Run against Xcode 12 / iOS 14 #115

Closed KaneCheshire closed 3 years ago

KaneCheshire commented 4 years ago

Leaving this issue open as a reminder to make sure we run this against Xcode 12 and iOS 14 when it's closer to coming out of beta.

We can also use this thread as a list of bugs we find if we run this on Xcode 12 in advance.

KaneCheshire commented 4 years ago

Initially it seems as though biometrics in the iOS 14 / Xcode 12 simulator is broken. When just running the app and manually enrolling biometrics using the normal simulator menus, clicking "log in" gives me the error:

Domain=com.apple.LocalAuthentication Code=-1000 "UI service connection invalidated." UserInfo={NSLocalizedDescription=UI service connection invalidated.

If this is just a simulator bug, there's not much we can do about fixing it.

KaneCheshire commented 4 years ago

Follow up, I also got a system crash report for "CoreAuthUI" which definitely feels like it correlates with that error above.

image
KaneCheshire commented 4 years ago

Looks like it's a problem in Apple's sample code too: https://openradar.appspot.com/FB7874732

roger-tan commented 4 years ago

I just tested with Xcode 12 Beta 4. It seems that the issue with Biometrics has been resolved.