question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
platycommented, Oct 12, 2020

I was able to test using a colleague’s iPhone and everything works

1reaction
Mogikancommented, Nov 12, 2020

Maybe the following answer will help you https://stackoverflow.com/a/63378638/1099716

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found