[AppleAuthentication][Managed app][iOS] In simulator, standalone build: AuthorizationError error 1000
See original GitHub issueš Bug Report
Summary of Issue
When following the configuration instructions and tips on this page and then running standalone in simulator the button errors immediately on click with:
The operation couldnāt be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)
There is no more information in the system logs.
The apple login works on an iPhone and the error canāt be reproduced there.
#5781 was closed a year ago and I donāt believe is related to this simulator issue, but there are around 6 people since July 2020 reporting this issue specifically with the simulator.
Environment - output of expo diagnostics
& the platform(s) youāre targeting
Expo CLI 3.24.0 environment info:
System:
OS: macOS 10.15.6
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Xcode: 11.7/11E801a - /usr/bin/xcodebuild
npmPackages:
expo: ^37.0.0 => 37.0.12
react: 16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4
Reproducible Demo
Steps to Reproduce
- Implement login according to instructions
- build for simulator
- run in simulator
- click button
Expected Behavior vs Actual Behavior
The error is particularly unhelpful and gives no information to help fix this. If it doesnāt work in a simulator the documentation should state that.
Unfortunately I do not have a real device to test on.
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (3 by maintainers)
Top Results From Across the Web
com.apple.AuthenticationServices.Authorization Error Code ...
After searching I found that it works on a real device and SOMETIMES doesn't work on the simulator. But I solved it by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was able to test using a colleagueās iPhone and everything works
Maybe the following answer will help you https://stackoverflow.com/a/63378638/1099716