facebook twitter hatena line email

「Unity/AppleAuth/FirebaseAuth連携」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(実行時の-7026エラーが出るとき)
(実行時の-7026エラーが出るとき)
行32: 行32:
 
対応方法
 
対応方法
 
https://developer.apple.com/account/ Identifiersで、 "Sign in with Apple"にチェックを付ける。
 
https://developer.apple.com/account/ Identifiersで、 "Sign in with Apple"にチェックを付ける。
 +
 +
==
 +
エラー詳細
 +
<pre>
 +
Logging Error: Failed to initialize logging system due to time out. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.
 +
</pre>
 +
対応方法
 +
XcodeメニューのProduct/Scheme/Edit Scheme/Run/Arguments/Environment Variable
 +
+をクリック
 +
Nameに「IDEPreferLogStreaming」
 +
Valueに「YES」

2025年8月7日 (木) 19:33時点における版

firebaseページのAuthenticationで、Appleを追加

https://console.firebase.google.com/u/0/?hl=ja から、指定のfirebaseプロジェクトを選択し、 Authenticationで、ログイン方法タブを選択して、新しいプロバイダに、Appleを追加する。

FirebaseAuthとAppleIdの連携スクリプト

Firebase公式:https://firebase.google.com/docs/auth/unity/apple?hl=ja&authuser=0

apple-signin-unity公式:https://github.com/lupidan/apple-signin-unity/wiki/Sign-in-with-Apple-Unity-Plugin:-Working-with-Firebase

https://toconakis.tech/ios-sign-in-with-apple/

https://goropocha.hatenablog.com/entry/2021/03/27/174352

UnityでiOSビルド時に、GoogleService-Info.plistで、REVERSED_CLIENT_IDエラーが出る場合

エラー詳細

Error building Player: GoogleService-Info.plist file missing REVERSED_CLIENT_ID, Google Sign-In will fail to initialize.

Assets/GoogleService-Info.plist

    <key>REVERSED_CLIENT_ID</key>
    <string>dummy</string>

追加する

参考:https://baba-s.hatenablog.com/entry/2024/06/13/111553

実行時の-7026エラーが出るとき

エラー詳細

Sign in with apple throws Authorization failed: Error Domain=AKAuthenticationError Code=-7026

対応方法 https://developer.apple.com/account/ Identifiersで、 "Sign in with Apple"にチェックを付ける。

== エラー詳細

Logging Error: Failed to initialize logging system due to time out. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.

対応方法 XcodeメニューのProduct/Scheme/Edit Scheme/Run/Arguments/Environment Variable +をクリック

Nameに「IDEPreferLogStreaming」
Valueに「YES」