bug: iOS ITMS-90338: Non-public API usage
See original GitHub issueBug 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:
- Created a year ago
- Reactions:27
- Comments:31 (7 by maintainers)
Top GitHub Comments
Hi,
Message from Apple: “The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble.”
Thanks.
same problem