The app references non-public selectors in Payload Capacitor.Framework STATE_ERROR.VALIDATION_ERROR.50
A potential workaround until it will be officially fixed:
I searched the resulting code by Ionic build for applicationNameForUserAgent
and isMainFrame
—other strings did not match anything—and found one instance for isMainFrame
(line 107 was found) in WebViewDelegationHandler
and three instances of applicationNameForUserAgent
in CAPBridgeViewController
(lines 115-120) (all searches in the xCode workspace). I removed all of these lines and the build was magically published.
I found on StackOverflow some thread from 2019 that also blamed (then) cordova-web-view-plugin
.
I'm not sure about how bad it is to remove those lines of code, yet at least it offers some sort of a solution, if at all.
I tested on my app and did not observe any flaws.
the app references non-public selectors in payload/appname.app/appname: _terminateWithStatus
You can't remove this warning. You may get this warning just for using a selector in your own code or third party code(may be because of facebook sdk) that has the same name as some selector that is marked as non-public. Happens to me all the time. Never got rejected for it.
So you won't worry about this warning. See this Ref. , Ref2
And also see this stack question to avoid rejection, find and remove unwanted framework.
Related Topics
Error: Uitableview Jump to Top with Uitableviewautomaticdimension
Custom Font on Uibutton Title Clipped on Top of Word
Swift Error: Editor Placeholder in Source File
How to Change Tint Color of Uialertcontroller
How to Get the iPhone Type from Simulator (Ios)
How to Control My Headset for My Music Player
Swift: Change Status Bar Color for iOS 13
Onfocuschange Not Triggered in Swiftui Tvos
Can an iOS App Switch the Device to Silent Mode
How to Parse Array of JSON to Array in Swift
Adding Swift Files to Test Target Not Fixing Unit Tests
How to Select a Picker View Item in an iOS UI Test in Xcode
Uitableviewcell Without Using Deprecated Method Initwithframe:Reuseidentifier
How to Save Tableview Cell's Checkmark After Reload View Use Nsuserdefaults
Constraints for Centering One Button When the Other Is Hidden