Question

While attempting to upload my apps binary to iTunes Connect, I get errors when I validate my app. The errors are:

- Your app contains non-public API usage.

- Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice

I have gone through several similar S.O. questions, such as: - non-public API usage Warning...preventing validation on upload to App store? - App rejected, but I don't use UDID - Binary rejected because of Non-public API usage (google analytic iOSv2)

As far as I know, my app only uses the Flurry API and Google AdMob API. I have updated both of those with no change.

When I used the command grep -Rnis 'uniqueIdentifier' * I get the following:

Binary file BroncoMobile [CURRENT]/BroncoMobile/BroncoMobile.xcodeproj/project.xcworkspace/xcuserdata/oit.xcuserdatad/UserInterfaceState.xcuserstate matches

Binary file Bronco Mobile [CURRENT]/BroncoMobile/libGoogleAdMobAds.a matches

The match with libGoogleAdMobAds.a makes me assume that there is still a problem with the GADMob API, and I'm not sure on how the UserInterfaceState.xcuserstate match could cause problems with validation (or how to fix it if it is the problem).

If there are any more suggestions for how I can find the source of the error in the validation that would be greatly appreciated. If there is any more information I can provide about my app, I would be more than willing to edit my question to include whatever is needed.

Was it helpful?

Solution

I would suggest you to double check to make sure you are using latest version of Google AdMob API. I faced the similar problem in past and fixed it only by using latest Google AdMob SDK.

Also, you may like to check this question.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top