ITMS-90338: Non-public API usage automatic refuse

Hello,


We contacted Apple Developer Support due to an automatic message we receive when trying to publish a new version of our app



Dear Developer,
We identified one or more issues with a recent delivery for your app. Please correct the following issues, then upload again. 
ITMS-90338: Non-public API usage - The app references non-public selectors in Idealys: applicationWillTerminate,
 ddSetLogLevel:, localTarget, newSocketQueueForConnectionFromAddress:onSocket:, setOrientation:animated:,
 socket:didConnectToHost:port:, socket:didReadPartialDataOfLength:tag:, socket:didReceiveTrust:completionHandler:,
 socket:didWritePartialDataOfLength:tag:, socket:shouldTimeoutReadWithTag:elapsed:bytesDone:, 
socket:shouldTimeoutWriteWithTag:elapsed:bytesDone:, socketDidCloseReadStream:, socketDidSecure:,
 terminateWithSuccess, webSocket:didReceiveMessage:, webSocketDidOpen:

 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 http://developer.apple.com/support/technical/ 

Best regards,

The App Store Team


The problem is we do not understand what the issue is even when reading your automatic message.


How can we debug this ?

How can we identify the source of the problem ?

Do you have any idea of what the problem is ?


What we tried :

  1. We tried to re-publish the application we currently have on your store (production) with different build number => App rejected with the same automatic message ;
  2. We tried to disable one by one every cordova plugin (see the list below) => App rejected with the same automatic message ;
  3. We tried to look for every reference listed in the automatic message using XCode and grep => We found none of those ;
  4. We tried to upgrade cordova-ios => App rejected with the same automatic message ;


XCode version : 11.0

MacOS version : 10.14.6

Cordova-ios version : 4.5.5

Ionic version : 1


Best regards,

Answered by App Store Connect Engineer in 715975022

The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble.

Also experiencing this issue as of today without any changes to my build process or code

Same problem. It seems to be something related to Apple itself.

Same here, I guess we all gotta wait for Apple to resolve this.

Everything was working normally just before WWDC. Now I'm getting the same "The app references non-public selectors" error message other folks are mentioning.

Same here just started happening this morning after a successful upload of the exact same bits earlier. Very strange.

Listing new build today (version bump) and receiving the same error.

React-native

Same here, Got build rejected. No major source code change!

Same here. I use unity and it’s complaining about some fundamental unity calls. No code changes in my end, we just updated some content and the build started failing today.

we could use a response from Apple.

Nothing new to add, experiencing the same issue as everyone else, just wanted to add a comment to amplify the problem. Using React Native, no expo. I submitted a report to Apple. I'm very glad it's not just us!

Same here

Same here

Same issue, started today right after WWDC ended.

As with the other, my apps were submitting just fine until this morning after the outage. Here's my error message from Xcode:

App Store Connect Operation Error The app references non-public selectors in Payload/Baron Performance.app/Baron Performance: applicationNameForUserAgent, initWithFrame:configuration:, isMainFrame, navigationDelegate, navigationType, setNavigationDelegate:, setProcessPool:, targetFrame, userContentController

MacOS 12.3.1 Xcode 3.4.1 Cordova 11.0.0 Cordova-android 10.1.2 Cordova-ios 6.2.0 cordova-plugin-splashscreen 6.0.1 cordova-plugin-statusbar 3.0.0

I submitted an issue to Cordova-its so they could track it: [https://github.com/apache/cordova-ios/issues/1239)

Same here. This just happen couple hours ago. Looking for some workaround here, but everyone just got a same thing. anyone know what is actually happens?

Same issue here ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/AmplifyPlugins.framework/AmplifyPlugins: _SFAuthenticationErrorDomain.

ITMS-90338: Non-public API usage automatic refuse
 
 
Q