improper advertising identifier [IDFA] usage

后端 未结 17 2204
孤街浪徒
孤街浪徒 2020-12-07 15:47

I\'m submitting ios game to app store.

xcode gives me error Improper advertising identifier [IDFA] usage. Your app contains the Advertising Identifier [IDFA] API bu

相关标签:
17条回答
  • 2020-12-07 16:06

    As a complete detailed answer to what @iDurocher said:
    1. Make sure you have at least one active prerelease build after uploading your binary(choose prerelease then make sure that there is one clickable build, note that it takes time for processing maybe half an hour).
    2. Get back to the Versions screen and select Build to add the uploaded build.
    3. Press Submit for review now then you will be asked about the IDFA.

    0 讨论(0)
  • 2020-12-07 16:07

    You just need to upload any app with the same bundle id and no ad support then reject the binary and check the new ad options yes. Then you can submit your app without a problem.

    0 讨论(0)
  • 2020-12-07 16:08

    -Reject the binary.

    -Upload binary again.

    -Check the option “Does this app uses the advertising identifier(IDFA)”

    and you are done.

    0 讨论(0)
  • You need to modify the code on MixPanel.m If you are using it.

     - (NSString *)defaultDistinctId
    {
        NSString *distinctId = nil;
        if (NSClassFromString(@"ASIdentifierManager")) {
            distinctId = [[ASIdentifierManager sharedManager].advertisingIdentifier UUIDString];
        }
        if (!distinctId) {
            NSLog(@"%@ error getting ifa: falling back to uuid", self);
            distinctId = [[NSUUID UUID] UUIDString];
        }
        if (!distinctId) {
            NSLog(@"%@ error getting uuid: no default distinct id could be generated", self);
        }
        return distinctId;
    
    }
    

    to

    - (NSString *)defaultDistinctId
    {
           return @"";
    
    }
    

    and Comment below lines on collectAutomaticProperties ,collectAutomaticProperties function

    //    if (NSClassFromString(@"ASIdentifierManager")) {
    //        [p setValue:[[ASIdentifierManager sharedManager].advertisingIdentifier UUIDString] forKey:@"$ios_ifa"];
    //    }
    
    0 讨论(0)
  • 2020-12-07 16:20

    Everything has come to its usual state now. Simply upload your binary as you've been doing this while, and broadly classify IDFA in two categories:

    1. publisher: You use third-party ad-networks library to display ad. Choose the 1st option in IDFA -> "Serve advertisements within the app". You're a publisher since you show ads, but do not perform advertising for your own app.

    2. Advertiser: You use third-party libraries to track conversions for your app, as well as track 'goals' in your app. You directly do not show ads in your app. Choose the 2nd & 3rd option in IDFA -> "Attribute this app installation to a previously served ad". AND "Attribute an action taken within this app to a previously served advertisement".

    3. Mixed: You track conversions for your app, as well as display ads in your app. Choose all three options.

    0 讨论(0)
  • 2020-12-07 16:21

    According to this article, which profiled a publisher who shared what Apple told them after receiving the same issue.

    Apple advised the publisher to check code, including third-party libraries, to remove any incidences of the following:

    class: ASIdentifierManager

    selector: advertisingIdentifier

    framework: AdSupport.framework

    I had the same problem, and searched for the above instances... i found a method with them in the Playhaven api, and after i commented that section out i didn't get the error again.

    An update of the Playhaven api may have fixed this as well, but i'm not sure... i just opted for the 'quick fix.'.

    0 讨论(0)
提交回复
热议问题