I am trying to authenticate users and get their name and email by using the SignInWithAppleButton with SwiftUI.
I am working from this youtube guide (https://www.youtube.com/watch?v=Behzb624Wqs), which is similar to other examples I found web browsing. Please let me know if it would be helpful to post my code.
However, when I tap the button and "share my email" and tap "Continue", I then receive a "Sign Up Not Completed" notification in the UI. After a pause, the UI returns to let me "Continue" again and I can repeat the problem.
If I close the sign in sheet, I receive this error message in the console:
2022-11-30 12:48:52.576788+0000 SIWATest[12785:2650974] [siwa] Authorization failed: Error Domain=AKAuthenticationError Code=-7003 "(null)" UserInfo={AKClientBundleID=[XXX bundle ID XXX]}
Authorization failed: The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1001.)
I have the Sign In With Apple capability enabled. How might I debug the problem? Would appreciate any tips!