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.

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.

Same here 🤮

Same issue with expo today as well as of 6 hours ago.

Same here.

Nothing was changed for third-party. We had some changes to in-game features.

Same problem here:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "Circle K Easy Fuel" 2.7.72 (1996). Please correct the following issues, then upload again. ITMS-90338: Non-public API usage - The app references non-public symbols in Easy Fuel: _SFAuthenticationErrorDomain. 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

Never changed anything about dependencies, just a little changes in logic code.. and suddenly apple reject uploading new archive .. yesterday still worked.. come on apple.. is this your side, bugs again?

Same issue and awaiting for the response from Apple Developer Support

Same here.Nothing change for third party.

Same here. Minor code changes. Can't upload new build to App Store Connect.

Same with me pls help to fix

Can't upload, was able to upload fine yesterday :(

yeah same issue here for me too, specifically this api _SFAuthenticationErrorDomain

much like everybody else, uploads were working earlier, no dependency changes and now failing.

ITMS-90338: Non-public API usage - The app references non-public selectors in Wy_FindCoach_Coach: estimatedProgress, initWithFrame:configuration:, isMainFrame, setBundle:, 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 http://developer.apple.com/support/technical/

Same problem here. Just minor JS changes. Worked yesterday but not today. I hope Apple help us to fix it soon

Same issue here. Was able to upload it a few days ago 😅

TMS-90338: Non-public API usage - The app references non-public selectors in X-XXXXX-iOS: __swift_objectForKeyedSubscript:, __swift_setObject:forKeyedSubscript:, callWithArguments:, createRequest, frameInfo, identityToken, initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, setProcessPool:, setRequestedScopes:, toDouble, toString, 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 http://developer.apple.com/support/technical/

Same here. I hope Apple fix this issue soon.

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