React Native, Sign in With Apple でエラー {code: ‘1000’, domain: ‘com.apple.AuthenticationServices.AuthorizationError’, message: ‘The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)’

何に困ったか

React Native で Sign in with Apple を実装しようとしたところ、以下のようなエラーが出た。

シミュレーター, 実機両方でエラーとなりログインできなかった。

{code: '1000', domain: 'com.apple.AuthenticationServices.AuthorizationError', message: 'The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)'

解決方法

  • Sign in with Apple を Target/signin & capabilities に追加する
  • Target/build settings/code signing entitlments に サービス名/サービス名Release.entitlements が Debug, Release ともに含まれているか?

私の場合は2番目の点でDebugが空欄になっており、上記のエラーでつまづいてしました。

コメント

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA