question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: iOS ITMS-90338: Non-public API usage

See original GitHub issue

Bug Report

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 3.5.1
  @capacitor/core: 3.5.1
  @capacitor/android: 3.5.1
  @capacitor/ios: 3.5.1

Installed Dependencies:

  @capacitor/cli: 3.5.1
  @capacitor/core: 3.5.1
  @capacitor/ios: 3.5.1
  @capacitor/android: 3.5.1

[success] iOS looking great! 👌
[success] Android looking great! 👌

Platform(s)

iOS

Current Behavior

When Submitting the App to iOS the binary gets rejected and I receive the below email from Apple.

Dear Developer,

We identified one or more issues with a recent delivery for your app, “APP NAME” 1.0.3 (22). Please correct the following issues, then upload again.

ITMS-90338: Non-public API usage - The app references non-public selectors in Frameworks/Capacitor.framework/Capacitor: applicationNameForUserAgent, initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, targetFrame. 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

Expected Behavior

App Should be uploaded successfully

Code Reproduction

Other Technical Details

npm --version output: 8.10.0

node --version output: v16.15.0

pod --version output (iOS issues only): 1.11.3

Additional Context

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:27
  • Comments:31 (7 by maintainers)

github_iconTop GitHub Comments

14reactions
paulocoutinhoxcommented, Jun 7, 2022

Hi,

Message from Apple: “The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble.”

Thanks.

6reactions
paulovargattcommented, Jun 6, 2022

same problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

ITMS-90338: Non-public API usage automatic refuse
This is a common problem with 3rd party, cross-platform frameworks. Apparently, they are full of private APIs. They may be configured to be...
Read more >
ITMS-90338: Non-public API usage PROCESSING ERROR
UPDATE This issue has been resolved on the app validation backend. Resubmitting should work. source. Original Answer.
Read more >
Apple Rejects IOS App - ITMS-90338: Non-public API usage
I just submitted an update of my App to Apple and Apple Rejected the App. with the following message: ITMS-90338: Non-public API usage...
Read more >
Upload to Appstore Error ITMS-90338: Non-public API usage
The uploading process of my updated app to Apple's app store looks fine. But a few moments later a mail from App Store...
Read more >
Bug - ITMS-90338: Non-public API usage
ITMS-90338 : Non-public API usage - The app references non-public ... If method names in your source code match the private Apple APIs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found