I’m trying to build a new version of an app for iOS, and I’m getting this error in an email from Apple:
ITMS-90338: Non-public API usage - The app references non-public selectors in (app name): applicationNameForUserAgent, initWithFrame:configuration:, isMainFrame, navigationDelegate, navigationType, setNavigationDelegate:, setProcessPool:, targetFrame, userContentController. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at Requesting Technical Support - Support - Apple Developer
The app I’m trying to build is a minor bug fix to an app I’ve already built successfully and released on the app store, and I’ve never seen this error when building it before. I last successfully built the app on 27 May, so could a change made since then have caused this issue?
Could you give it another try and let me know what you see? We are rolling out some upgrades to our infrastructure, but it shouldn’t cause an issue like this.
This build definitely was done using our older infrastructure. I suspect that with WWDC happening today Apple may have changed some standards. We’ll look into this, but you may want to do the same. I’ll let you know what we find.
I spent over 6 hours trying to solve this problem, until I found that thread on developer.apple.com that showed that hundreds of other people were having the same problem. Apple fixed it the next morning… but jeeze, Apple, can I have those 6 hours of my life back, please? I’ll take a new iphone 14 instead.