重要:
2024 年 5 月 1 日より、Apple により、GoogleSignIn-iOS など、よく使用される SDK を使用する iOS アプリについては、プライバシー マニフェストと署名が
必須となります。2024 年 5 月 1 日までに GoogleSignIn-iOS v7.1.0 以降にアップグレードしてください。
アップグレード ガイドの手順を実施します。
App Check の適用を有効にする
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
App Check がユーザーに与える影響を理解し、続行する準備ができたら、App Check の適用を有効にします。
Google API Consoleで適用を有効にする
適用を有効にするには、次の手順を行います。
[認証情報] ページで、iOS クライアントの編集ビューに移動します。ページの右側の [Google Identity for iOS] セクションに指標が表示されます。
[適用] ボタンをクリックして、選択内容を確定します。適用が有効になると、クライアントからの未検証のリクエストはすべて拒否されます。
注 : 適用を有効にした後、変更が有効になるまでに最大で 15 分ほどかかることがあります。
Firebase コンソールで適用を有効にする
App Check は、特定の iOS クライアントまたはすべての iOS クライアントに適用できます。
すべての iOS クライアントで適用を有効にする
iOS で Google ログインの適用を有効にするには、次の手順を行います。適用を有効にすると、未検証のリクエストはすべて拒否されます。これには、Firebase アプリにリンクされていない iOS OAuth クライアントに関連付けられたリクエストも含まれます。
Firebase コンソールの [App Check] セクションを開きます。
[Google Identity for iOS] セクションを開きます。
[適用] をクリックして、選択内容を確定します。
適用が有効になるまでに最大で 15 分ほどかかります。
特定の iOS クライアントの適用を有効にする
特定の iOS OAuth クライアントに対して App Check の適用を構成することもできます。手順は次のとおりです。
Firebase コンソールの [App Check] セクションで [OAuth クライアント] を開きます。
構成する OAuth クライアントの指標ビューを開きます。
クライアントがアプリにまだリンクされていない場合は、リンクします。
[Create enforcement override] をクリックします。
この OAuth クライアントに対して App Check を適用するかどうかを選択します。この設定は、プロジェクトの iOS 用 Google Identity のグローバル強制設定をオーバーライドします。
適用が有効になるまでに最大で 15 分ほどかかります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\u003cp\u003eApp Check enforcement can be enabled to ensure only verified requests are accepted, rejecting unverified ones.\u003c/p\u003e\n"],["\u003cp\u003eEnforcement can be enabled through the Google API Console or the Firebase Console, with options for specific or all iOS clients.\u003c/p\u003e\n"],["\u003cp\u003eEnabling enforcement involves navigating to the respective platform's console, locating the App Check or Google Identity for iOS settings, and clicking the 'Enforce' button.\u003c/p\u003e\n"],["\u003cp\u003eAfter enabling, it takes up to 15 minutes for the changes to take effect, impacting all subsequent requests.\u003c/p\u003e\n"],["\u003cp\u003eFirebase Console provides granular control, allowing enforcement overrides for individual iOS OAuth clients linked to your project.\u003c/p\u003e\n"]]],[],null,["When you [understand how App Check will affect your users](/identity/sign-in/ios/appcheck/monitor-metrics)\nand you're ready to proceed, you can enable App Check enforcement.\n\nEnable enforcement in the Google API Console\n\nTo enable enforcement, complete the following steps:\n\n1. Go to the edit view of your iOS client in the\n [Credentials page](https://console.cloud.google.com/apis/credentials). There, you will see metrics to the right of the page\n under the **Google Identity for iOS** section.\n\n2. Click the **ENFORCE** button and confirm your choice. Once enforcement is\n active, all unverified requests from your client will be rejected.\n\n**Note** : After you enable enforcement, it can take up to 15 minutes for the\nchanges to take effect.\n\nEnable enforcement in the Firebase Console\n\nApp Check can be enforced for specific iOS clients or for all your iOS clients\n\nEnable enforcement for all iOS clients\n\nTo enable enforcement for Google Sign-in on iOS, complete the following steps.\nOnce you enable enforcement, all unverified requests will be rejected, including\nrequests associated with iOS OAuth clients that aren't linked to a Firebase app.\n\n1. Open the [App Check](https://console.firebase.google.com/project/_/appcheck) section of the Firebase console.\n\n2. Expand the **Google Identity for iOS** section.\n\n3. Click **Enforce** and confirm your choice.\n\nNote that it can take up to 15 minutes after you enable enforcement for it to\ntake effect.\n\nEnable enforcement for specific iOS clients\n\nYou can also configure App Check enforcement for specific iOS OAuth clients. To\ndo so:\n\n1. Open [OAuth clients](https://console.firebase.google.com/project/_/appcheck/products/oauth) under the App Check section of\n the Firebase console.\n\n2. Expand the metrics view for the OAuth client you want to configure.\n\n3. If the client is not yet linked to an app, do so.\n\n4. Click **Create enforcement override**.\n\n5. Choose whether to enforce or unenforce App Check for this OAuth client. This\n setting overrides your project's global Google Identity for iOS enforcement\n setting.\n\nNote that it can take up to 15 minutes after you enable enforcement for it to\ntake effect."]]