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.