You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/06/07 00:14:55 UTC

[GitHub] [cordova-ios] srkleiman opened a new issue, #1239: Apple App Store rejection due to non-public selectors

srkleiman opened a new issue, #1239:
URL: https://github.com/apache/cordova-ios/issues/1239

   <!--
   Please have a look at the issue templates you get when you click "New issue" in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] Bug Report
   - [ ] Feature Request
   - [ ] Support Question
   
   ## Description
   
   ## Information
   
   Today when I tried to build and submit an app that had been submitting fine I get:
   
   > 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
   > 
   
   I upgraded to the latest Cordova CLI, Platforms, Xcode, no joy. Same error submitting via Xcode and or xcrun.
   
   Other people are having this problem as well: [https://developer.apple.com/forums/thread/127678](url)
   
   I believe Apple changed something that is causing Cordova apps to be rejected.
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   MacOS 12.3.1
   Xcode 3.4.1
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova 11.0.0
   android 10.1.2
   ios 6.2.0
   cordova-plugin-splashscreen 6.0.1
   cordova-plugin-statusbar 3.0.0
   
   ## Checklist
   <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
   
   - [x] I searched for already existing GitHub issues about this
   - [x] I updated all Cordova tooling to their most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] shankari commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
shankari commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148254613

   I can confirm that it worked on resubmission.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] shankari commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
shankari commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148162469

   I then checked the first three methods above against the apple documentation and they seem to be documented, public APIs in the webkit framework.
   
   - `applicationNameForUserAgent`: https://developer.apple.com/documentation/webkit/webview/1408381-applicationnameforuseragent (public, deprecated)
   - `dataTypes`: called on `WKWebsiteDataRecord`, https://developer.apple.com/documentation/webkit/wkwebsitedatarecord/1538007-datatypes?language=objc (public)
   - `initWithFrame:configuration`: called on WKWebView, https://developer.apple.com/documentation/webkit/wkwebview/1414998-initwithframe?language=objc (public)
   
   It looks like Apple's "non-public API usage" is not accounting for the public API for the WKWebView code, so it is breaking consistently for CordovaLib.
   
   @dpogue are the cordova maintainers already in contact with Apple? Or should I file a tech support ticket?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148163522

   > @dpogue are the cordova maintainers already in contact with Apple? Or should I file a tech support ticket?
   
   We have no direct contact with Apple, but I imagine they are getting lots of reports since this seems to affect almost every iOS app.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] paulocoutinhox commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
paulocoutinhox commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148222246

   Hi,
   
   Message from Apple: "The issue has been resolved on the app validation backend. Please try resubmitting. Sorry for the trouble."
   
   Thanks.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148062028

   It sounds like this is affecting Cordova, Capacitor, Flutter, and ReactNative, and probably others as well.
   
   Cordova iOS does not use any private APIs by default, and none of the Apache plugins do either, specifically to avoid running into this problem. (3rd party plugins might use private APIs, but we have no control over that)
   
   This sounds like the issue is 100% on Apple's side, but I'll leave this open until we have some sort of resolution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] shankari commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
shankari commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148175257

   FYI: Developer Technical Support will be supporting [WWDC](https://developer.apple.com/wwdc22/) and won't be reviewing requests from June 4 to 12, 2022.
   
   🙄 🤦 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] shankari commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
shankari commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148158267

   I got a similar error for an app built on a platform that has been used for multiple apps before (https://github.com/e-mission/e-mission-phone/)
   
   I went through and searched for each supposedly private API listed, and all of them bar `transform` are related to the cordova libraries. 
   
   - `applicationNameForUserAgent`: `CDVWebViewEngine`, `CDVWKInAppBrowser`, `CDVWKWebViewEngine`
   - `dataTypes`: lots of javascript, `CDVWKInAppBrowser`
   - `initWithFrame:configuration`: `CDVWebViewEngine`, `CDVWebViewUIDelegate`, `CDVWKInAppBrowser`, `CDVWKWebViewEngine`. There are other calls to `initWithFrame` but without the `configuration` parameter, 
   - `isMainFrame`: `CDVWebViewUIDelegate`
   - `navigationType`: `CDVWebViewEngine`, `CDVIntentAndNavigationFilter`, `CDVWKWebViewEngine`
   - `setProcessPool`: not found
   - `targetFrame`: `CDVWebViewUIDelegate`, `CDVWKInAppBrowser`
   - `transform`: lots of javascript matches, `OIDExternalUserAgentIOSCustomBrowser` (from JWT), `GDTCORTransformer` (from GoogleDataTransport)
   - `userContentController`: `CDVWebViewEngine`, `CDVWKInAppBrowser`, `CDVWKWebViewEngine`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue commented on issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #1239:
URL: https://github.com/apache/cordova-ios/issues/1239#issuecomment-1148255496

   Glad to hear. I'm going to mark this issue as closed :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] dpogue closed issue #1239: Apple App Store rejection due to non-public selectors

Posted by GitBox <gi...@apache.org>.
dpogue closed issue #1239: Apple App Store rejection due to non-public selectors
URL: https://github.com/apache/cordova-ios/issues/1239


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org