Our app has been on the app store for a few years now with no issue whatsoever. Today, Apple sent us this little love letter:
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 Requesting Technical Support - Support - Apple Developer
The App Store Team
Has anyone else found this error? I’m thinking it may have to do with an update on Apple’s end. Only thing we changed was to include some needed pods to the Podfile. Here is what it looks like now:
target 'App' do capacitor_pods # Add your Pods here pod 'Firebase/Core', '~> 9.1.0' pod 'Firebase/Auth', '~> 9.1.0' pod 'Firebase/Analytics', '~> 9.1.0' pod 'GoogleSignIn', '~> 5.0.2' end
We’re currently running @Ionic/angular 5.6.11 with @capacitor/ios 3.5.1 on Angular 12.1.1.
Any help would be greatly appreciated.