cordova ITMS-90809:已弃用的API用法**-不再接受使用UIWebView的新应用程序,请改用WKWebView以提高安全性和可靠性

xurqigkl  于 2022-11-15  发布在  其他
关注(0)|答案(1)|浏览(163)
https://i.stack.imgur.com/Qxf3D.png

我在上传应用程序到AppStore时遇到同样的错误。以下是我在应用程序中使用的详细信息。这是我们在离子iOS应用程序中使用的详细插件。我们试图从过去1个月解决它,但仍然没有运气。我们已经更新了几乎所有的插件与最新版本,但我们仍然得到这个问题。我已经按照Ionic Form进行了操作,并在config.xml中添加了一些代码,但仍然遇到了同样的问题。

This is the detail plugins which we have used in our ionic iOS app. We are trying to resolved it from last 1 month but still not getting luck. We have updated almost all plugins with latest version but still we are getting this issue.

我已经按照Ionic Form进行了操作,并在config.xml中添加了一些代码,但仍然遇到了同样的问题。
如果有人有什么想法请帮忙。

**1. config.xml**

 <preference name="WKWebViewOnly" value="true" />
        <feature name="CDVWKWebViewEngine">
            <param name="ios-package" value="CDVWKWebViewEngine" />
        </feature>
        <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />


**2. package.json**

    "devDependencies": {
        "@angular-devkit/build-angular": "~0.1000.0",
        "@angular/cli": "~10.0.5",
        "@angular/compiler": "~10.0.0",
        "@angular/compiler-cli": "~10.0.0",
        "@angular/language-service": "~10.0.0",
        "@babel/helper-define-map": "^7.13.12",
        "@ionic/angular-toolkit": "^2.3.0",
        "@types/jasmine": "~3.5.0",
        "@types/jasminewd2": "~2.0.3",
        "@types/node": "^12.11.1",
        "codelyzer": "^6.0.0",
        "cordova-ios": "^6.2.0",
        "cordova-open-native-settings": "^1.5.3",
        "cordova-plugin-advanced-http": "^3.1.0",
        "cordova-plugin-androidx": "^3.0.0",
        "cordova-plugin-androidx-adapter": "^1.1.3",
        "cordova-plugin-app-version": "^0.1.12",
        "cordova-plugin-ble-central": "^1.3.1",
        "cordova-plugin-camera": "^6.0.0",
        "cordova-plugin-compat": "^1.2.0",
        "cordova-plugin-device": "^2.1.0",
        "cordova-plugin-file": "^6.0.2",
        "cordova-plugin-geolocation": "^4.1.0",
        "cordova-plugin-inappbrowser": "^5.0.0",
        "cordova-plugin-insomnia": "^4.3.0",
        "cordova-plugin-ionic-keyboard": "^2.2.0",
        "cordova-plugin-ionic-webview": "^5.0.0",
        "cordova-plugin-ms-adal": "^0.10.2",
        "cordova-plugin-nativestorage": "^2.3.2",
        "cordova-plugin-network-information": "^2.0.2",
        "cordova-plugin-screen-orientation": "^3.0.2",
        "cordova-plugin-splashscreen": "^6.0.2",
        "cordova-plugin-statusbar": "^3.0.0",
        "cordova-plugin-whitelist": "^1.3.5",
        "cordova-plugin-wifiwizard2": "^3.1.1",
        "cordova-sqlite-storage": "^6.0.0",
        "cordova.plugins.diagnostic": "^6.0.2",
        "es6-promise-plugin": "^4.1.0",
        "jasmine-core": "~3.5.0",
        "jasmine-spec-reporter": "~5.0.0",
        "jetifier": "^1.6.6",
        "karma": "~5.0.0",
        "karma-chrome-launcher": "~3.1.0",
        "karma-coverage-istanbul-reporter": "~3.0.2",
        "karma-jasmine": "~3.3.0",
        "karma-jasmine-html-reporter": "^1.5.0",
        "phonegap-plugin-barcodescanner": "^8.1.0",
        "protractor": "~7.0.0",
        "ts-node": "~8.3.0",
        "tslint": "~6.1.0",
        "typescript": "~3.9.5"
      }

**3. Used plugins:**

    cordova-open-native-settings 1.5.5 "Native settings"
    cordova-plugin-advanced-http 3.2.2 "Advanced HTTP plugin"
    cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
    cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx"
    cordova-plugin-app-version 0.1.12 "AppVersion"
    cordova-plugin-ble-central 1.4.1 "BLE"
    cordova-plugin-camera 6.0.0 "Camera"
    cordova-plugin-compat 1.2.0 "Compat"
    cordova-plugin-device 2.1.0 "Device"
    cordova-plugin-file 6.0.2 "File"
    cordova-plugin-geolocation 4.1.0 "Geolocation",
    cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
    cordova-plugin-insomnia 4.3.0 "Insomnia (prevent screen sleep)",
    cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard",
    cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
    cordova-plugin-ms-adal 0.10.1 "ADAL for Cordova"
    cordova-plugin-nativestorage 2.3.2 "NativeStorage"
    cordova-plugin-network-information 2.0.2 "Network Information"
    cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
    cordova-plugin-splashscreen 6.0.2 "Splashscreen"
    cordova-plugin-statusbar 3.0.0 "StatusBar"
    cordova-plugin-whitelist 1.3.5 "Whitelist"
    cordova-plugin-wkwebviewxhrfix 0.1.0 "WKWebView XHR Fix"
    cordova-sqlite-storage 6.0.0 "Cordova SQLite storage plugin - cordova-sqlite-storage 
    plugin version"
    cordova.plugins.diagnostic 6.1.0 "Diagnostic"
    es6-promise-plugin 4.1.0 "Promise"
    phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"
    wifiwizard2 3.1.1 "WifiWizard2"

**ITMS-90809: Deprecated API Usage** - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

相关问题