הפעלה של AdSupport Framework
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
חלק מהתכונות של Analytics, כמו קהלים ושיוך (Attribution) ברמת הקמפיין, וגם
ממאפייני משתמש מסוימים, כמו 'גיל' ו'תחומי עניין', דורשים
מסגרת AdSupport שצריך
מופעל. בלי המסגרת הזו, לא תהיה ל-Analytics אפשרות לאסוף מידע
שנדרשות כדי שהתכונות האלו יפעלו באופן תקין.
כדי להפעיל את AdSupport:
- בפרויקט Xcode, בוחרים את היעד של הפרויקט.
- בוחרים בכרטיסייה כללי עבור היעד.
- מרחיבים את הקטע מסגרות וספריות מקושרות.
- לוחצים על הסמל + כדי להוסיף מסגרת.
- בוחרים באפשרות AdSupport.framework.
- מוסיפים את הדגל
-ObjC
של ה-linker להגדרות ה-build של הפרויקט בקטע Other Linker Flags
.
לפני שליחת האפליקציה לבדיקה, יש לוודא שהיא עומדת בדרישות של
הנחיות לשימוש במזהה עבור מפרסמים (IDFA).
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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)."]]