We got this error from apple, They rejected our app because of this problem:
PLA 3.3.12
We found your app uses the iOS Advertising Identifier but does not include ad functionality. This does not comply with the terms of the iOS Developer Program License Agreement, as required by the App Store Review Guidelines.
Specifically, section 3.3.12 of the iOS Developer Program License Agreement states:
“You and Your Applications (and any third party with whom you have contracted to serve advertising) may us the Advertising Identifier, and any information obtained through the use of the Advertising Identifier, only for the purpose of serving advertising. If a user resets the Advertising Identifier, then You agree not to combine, correlate, link or otherwise associate, either directly or indirectly, the prior Advertising Identifier and any derived information with the reset Advertising Identifier.”
Please remove the iOS Advertising Identifier from your app or add ad functionality to your app.
We are not using iAd anywhere in the game, also by default only the iAd framework is added ,
How to remove iAd framework , please reply me urgently.
The solution linked in the other answers is rather confusing, since it’s rather old.
If you get this problem, just be sure to not link AdSupport.framwork in your Xcode project, and check NO to the IDFA question.
Explained:
Now (Unity 5.3.x) the problem for Advertising Identifier is solved, if you get rejected is because you clicked YES on the question about the Identifier during the submitting process on Itunesconnect, while not having custom ads displayed in your app.
Also, If you are using iAd this isn’t needed: iAd and AdSupport.framework are a different thing. IAds doesn’t use the AdSupport.framework.
To be sure that your code or a plugin isn’t accessing the AdvertisingIdentifier, just check that your code doesn’t link the AdSupport.framework.
If you check the DeviceSettings.nm file from unity, you can see in the QueryAsIdentifierManager and UnityAdvertisingIdentifier methods, from Unity 5.x, the Identifier is accessed only if the AdSupport.framework is present, otherwise null is returned.