Advertising Identifier for tvOS?

I just updated the SDK for one of my tvOS apps and am now getting this warning in App Store Connect:

Your app is using the Advertising Identifier (IDFA).

I never had this problem before with the SDK and I don't want to mess with IDFA.

0

Comments

3 comments
  • Official comment

    Yes, you can use `COUNTLY_EXCLUDE_IDFA`.

    https://support.count.ly/hc/en-us/articles/360037753511-iOS-watchOS-tvOS-macOS#app-store-connect-idfa-warning

    Please make sure you read this part of the documentation:

    > If you are adding Countly iOS SDK source files directly to your project, make sure the flag is added to your app target. If you are adding it as a framework, make sure the flag is added to framework target.

    Comment actions Permalink
  • I discovered it was Countly.. with:

    grep -lr "advertisingIdentifier" * | grep -v .svn | grep -v .md

    Pods/Countly/CountlyCommon.m

     

    But, I looks like I can "un define it" ?

     

    #if (TARGET_OS_IOS || TARGET_OS_TV)

    #ifndef COUNTLY_EXCLUDE_IDFA

        if (ASIdentifierManager.sharedManager.advertisingTrackingEnabled)

        {

            attribution = @{kCountlyAttributionIDFAKey: ASIdentifierManager.sharedManager.advertisingIdentifier.UUIDString};

        }

    #endif

    #endif

     

    0
    Comment actions Permalink
  • COUNTLY_EXCLUDE_IDFA=1 did not seem to stop App Store Connect. I think I saw a github ticket about this as well.

    0
    Comment actions Permalink

Please sign in to leave a comment.