Invalid Advertising ID [IDFA], but it is not

When loading a file application in itunesconnect, Xcode says: incorrect advertising identifier [IDFA] use ... etc. But I do not use this feature in my project. I tried to find any

[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString] 

vocation. In addition, I am just fixing a bug in my application, I have not included such functions since my first release. The first issue does not talk about using IDFA.

+3
ios objective-c itunesconnect
Apr 26 '14 at 9:54 on
source share
4 answers

Well, this error occurred about 15 days ago, and it was not clear what the reason was until Apple released the Xcode update that day, and after that everything went smoothly. Again, today I get the same message, although I tried to download the same assemblies for the application that I introduced 8 days ago. I think we need to wait a few hours and see what happens.

EDIT: Here is a link to show that people are complaining about this while and how it was resolved without any action: LINK

UPDATE: For those using PlayHaven ads, this may be helpful to avoid this error. Comment on the following 2 sections:

In the PHAdRequest.m file (Lines 35-44)

 /* if (![PHAPIRequest optOutStatus] && [ASIdentifierManager class]) { NSUUID *uuid = [[ASIdentifierManager sharedManager] advertisingIdentifier]; NSString *uuidString = [uuid UUIDString]; if (0 < [uuidString length]) { theIdentifiers[@"ifa"] = uuidString; } }*/ 

In PHAPIRequest.m (lines 379-383):

 /* if ([ASIdentifierManager class]) { NSNumber *trackingEnabled = [NSNumber numberWithBool:[[ASIdentifierManager sharedManager] isAdvertisingTrackingEnabled]]; [combinedParams setValue:trackingEnabled forKey:@"tracking"]; }*/ 

This is a temporary solution until PlayHaven updates its SDK.

+3
Apr 26 '14 at 10:28
source share

I provided this answer to another similar question , and it seems to have helped, and I think my answer is particularly suitable for this question too ...

I had a similar error in updating the application, which was previously updated perfectly, and then a few days ago caused an error after Apple made a recent change. I haven’t used any ads, but I have integration with Facebook (which requires the AdSupport infrastructure). I suppose, after searching the network, that Facebook uses the advertising identifier for its own analysis purposes, therefore, although I do not include ads in my application, the checks and loading processes through xCode did not complete with the error "Your application contains the Advertising ID [IDFA] API. .. "

I searched and found that I need to download the SDK source code for Facebook, update FBUtility.m to remove links to the advertising identifier, but in fact I just need:

1) download the source code for the last SDK that I made here: https://github.com/facebook/facebook-ios-sdk (I downloaded the zip file from github to my documents folder)

2) build a framework - open a terminal. Use the cd documents on the command line, then use the following command: sudo scripts / build_framework.sh, which will run the build_framework.sh script file, which is located in the scripts subfolder of the downloaded Facebook SDK folder.

3) Delete the old FacebookSDK.framework file from the Xcode project and add a new one (in my case, I went to the / facebook -ios-sdk / build documents and select the FacebookSDK.framework folder

4) Archive the project and it should (in my case) be good to download

Hope this helps someone along the way - I have been on this for several days!

+3
Apr 29 '14 at
source share

Just upload your binary as you did, and broadly categorize IDFAs in two categories:

Publisher: A third-party library of ad networks is used to display ads. Choose option 1 in IDFA β†’ Serve In-App Advertisements. You are a publisher because you display ads, but don’t advertise your application.

Advertiser: You use third-party libraries to track conversions for your application, as well as to track goals in your application. You do not directly display ads in your application. Select the second and third options in the IDFA β†’ "Attribute to install this application for a previously loaded ad." And "Attribute of action taken in this app to previously submitted ads."

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

+2
May 2 '14 at 14:28
source share

For PlayHaven, setting PH_USE_AD_SUPPORT to 0 will disable the AdSupport infrastructure.

PHConstants.h

 /** * By default, PlayHaven will require the AdSupport framework. Projects using a version of * Xcode older than 4.5 may define \c PH_USE_AD_SUPPORT to be 0. * * @note By disabling the AdSupport framework, the SDK will not be able to collect the IFA **/ #ifndef PH_USE_AD_SUPPORT #define PH_USE_AD_SUPPORT 1 #endif 

Work with me to fix the "wrong advertising ID" when sending.

0
Apr 29 '14 at 7:13
source share



All Articles