AdSupport Framework を有効にする
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユーザーリスト、キャンペーン アトリビューション、一部のユーザー プロパティ(年齢、関心など)などの一部の Analytics の機能を使用するには AdSupport framework を有効にする必要があります。このフレームワークがなければ、Analytics はこれらの機能が正常に動作するのに必要な情報を収集できません。
AdSupport framework を有効にするための手順は以下になります。
- Xcode プロジェクトでプロジェクトのターゲットを選択します。
- ターゲットの [General] タブを選択します。
- [Linked Frameworks and Libraries] を展開します。
- [+] をクリックしてフレームワークを追加します。
- [AdSupport.framework] を選択します。
Other Linker Flags
の下にあるプロジェクトのビルド設定に -ObjC
リンカーフラグを追加します。
審査のためにアプリを送信する前に、アプリが IDFA の使用ガイドラインに準拠していることを確認してください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-24 UTC。
[null,null,["最終更新日 2025-07-24 UTC。"],[],[],null,["Some Analytics features, such as audiences and campaign attribution, and\nsome user properties, such as Age and Interests, require the\n[AdSupport framework](https://developer.apple.com/reference/adsupport) to be\nenabled. Without this framework, Analytics cannot collect information\nneeded for these features to function properly.\n\nTo enable the AdSupport framework:\n\n1. In your Xcode project, select your project's target.\n2. Select the **General** tab for your target.\n3. Expand the **Linked Frameworks and Libraries** section.\n4. Click **+** to add a framework.\n5. Select **AdSupport.framework**.\n6. Add the `-ObjC` linker flag to your project's build settings under `Other Linker Flags`.\n\nBefore submitting your app for review, ensure your app complies with\n[IDFA usage guidelines](https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html#//apple_ref/doc/uid/TP40011225-CH33-SW8)."]]