ionic-team / cordova-plugin-ionic-webview

Web View plugin for Cordova, specialized for Ionic apps.
Apache License 2.0
486 stars 393 forks source link

The app references non-public selectors in Payload #209

Open azerturk opened 5 years ago

azerturk commented 5 years ago

I successfully submit the ipa file to the App Store using Application Loader. But it shows the warning - The app references non-public selectors in Payload ...: _setAlwaysRunsAtForegroundPriority:

Note: I'm using the ionic v1 and phonegap build service.

klochko7 commented 3 years ago

levesquejf , yes I use <preference name="WKWebViewOnly" value="true" /> and I use cordova-ios@6+, cordova-plugin-wkwebview-engine, cordova-plugin-wkwebviewxhrfix. Maybe I need to delete this plugins ? Нow to understand what plugin use UIWebView ?

update.

I fixed my problem. Installed ios@6.2.0 and delete cordova-plugin-wkwebview-engine, cordova.plugins.diagnostic, cordova-plugin-ms-adal.

code-by commented 3 years ago

Hi, there! I have to update old Ionic project that not been updated last 12+ month. In package.json there

"cordova-ios": "^5.1.1"
"cordova-plugin-ionic-webview": "^4.1.3"

which versions of these modules I should use to make valid AppStore build? Also I'd like to leave minimal iOS version 10.0 if it is possible. thank you

bawantha commented 3 years ago

After almost two years, this issue is to keep coming. No wonder why Ionic is dying

ivinantony commented 2 years ago

for me on new build onwards now its showing.in ionic 6

AnasAl-tamemy commented 2 years ago

@SimoneMSR - https://stackoverflow.com/a/56934236 So change your webview from 4.1.1 to 4.1.0. Just tried it myself and it works.

Thank you, you saved my day

theappideasankit commented 1 year ago

The app references non-public selectors in Payload/Fit Now.app/Fit Now: fontWeight, relativeSize, spanArray, spanArray_Count, strikeThrough, underline

shreesols commented 1 year ago

App Store Connect Operation Error The app references non-public selectors in Payload/MyApp.app/MyApp: onSuccess:, setColor:animated:

thameurr commented 1 year ago

The app references non-public selectors in Payload/App.app/App: fontWeight, relativeSize, spanArray, spanArray_Count, underline !

Xcode Version 14.2 (14C18)
Ionic:

   Ionic CLI                     : 6.20.6 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 6.3.2
   @angular-devkit/build-angular : 14.2.6
   @angular-devkit/schematics    : 14.2.6
   @angular/cli                  : 14.2.6
   @ionic/angular-toolkit        : 6.1.0

Utility:

   cordova-res : 0.15.4
   native-run  : 1.7.1

System:

   NodeJS : v16.13.0 (/usr/local/bin/node)
   npm    : 8.19.2
   OS     : macOS

Any support ?

engasix commented 1 year ago

I used Transporter utility to upload binary, I didn't find any find any warning in logs.

templatetuners commented 1 year ago

Update your xcode "Minimum Deployments" version to lowest.

MRizwanAnsar commented 1 year ago

After almost two years, this issue is to keep coming. No wonder why Ionic is dying

It is still there.

mlynch commented 1 year ago

I'm going to lock this issue because people are blaming Ionic for this error when the issue is NOT with our libraries. If you are using a plugin that relies on older APIs (for example, UIWebView), you WILL see this issue. Your plugins need to be updated. This has nothing to do with Ionic. Go through each dependency and ensure you are running the latest versions. All core Ionic and Capacitor plugins do not have this problem and are updated frequently as Apple and Google require.