我使用的是离子4,我把我的应用程序上传到应用程序商店,但是由于ITMS-90809:废弃的API使用UIWebView,我被拒绝了。
这封邮件是苹果团队寄来的。
我的离子信息:
mac@macs-iMac myApp % ionic info
Ionic:
Ionic CLI : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 4.11.13
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : 10.0.0 (cordova-lib@10.1.0)
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 22 other plugins)
Utility:
cordova-res (update available: 0.15.4) : 0.15.3
native-run (update available: 1.5.0) : 1.4.0
System:
ios-deploy : 1.11.4
ios-sim : 8.0.2
NodeJS : v14.17.2 (/usr/local/bin/node)
npm : 6.14.12
OS : macOS Big Sur
Xcode : Xcode 12.5.1 Build version 12E507
mac@macs-iMac myApp %
插件列表:
mac@macs-iMac myApp % ionic cordova plugin list
> cordova plugin ls
cordova-android-support-gradle-release 3.0.1 "cordova-android-support-gradle-release"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-android-permissions 1.1.2 "Permissions"
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-camera 5.0.3 "Camera"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-facebook-connect 3.2.0 "Facebook Connect"
cordova-plugin-fcm-with-dependecy-updated 3.2.0 "Cordova FCM Push Plugin"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-googleplus 7.0.2 "Google SignIn"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
cordova-plugin-nativegeocoder 3.4.1 "NativeGeocoder"
cordova-plugin-network-information 3.0.0 "Network Information"
cordova-plugin-request-location-accuracy 2.3.0 "Request Location Accuracy"
cordova-plugin-sign-in-with-apple 0.1.2 "cordova-plugin-sign-in-with-apple"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 6.0.3 "SocialSharing"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-deeplinks 1.0.22 "Ionic Deeplink Plugin"
mac@macs-iMac myApp %
包json文件:
{
"name": "sidemenuTabs",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "^7.2.16",
"@angular/core": "^7.2.16",
"@angular/forms": "^7.2.16",
"@angular/http": "^7.2.16",
"@angular/platform-browser": "^7.2.16",
"@angular/platform-browser-dynamic": "^7.2.16",
"@angular/router": "^7.2.16",
"@capacitor/core": "3.1.2",
"@ionic-native/android-permissions": "^5.36.0",
"@ionic-native/camera": "^5.36.0",
"@ionic-native/core": "^5.36.0",
"@ionic-native/deeplinks": "^5.36.0",
"@ionic-native/device": "^5.36.0",
"@ionic-native/facebook": "^5.36.0",
"@ionic-native/fcm": "^5.36.0",
"@ionic-native/geolocation": "^5.35.0",
"@ionic-native/google-plus": "^5.36.0",
"@ionic-native/image-picker": "^5.36.0",
"@ionic-native/ionic-webview": "^5.36.0",
"@ionic-native/local-notifications": "^5.36.0",
"@ionic-native/location-accuracy": "^5.36.0",
"@ionic-native/native-geocoder": "^5.34.0",
"@ionic-native/network": "^5.36.0",
"@ionic-native/sign-in-with-apple": "^5.34.0",
"@ionic-native/social-sharing": "^5.36.0",
"@ionic-native/splash-screen": "^5.32.1",
"@ionic-native/status-bar": "^5.32.1",
"@ionic/angular": "^4.11.13",
"@ngx-translate/core": "^12.1.2",
"@ngx-translate/http-loader": "^6.0.0",
"core-js": "^2.6.12",
"ionic4-star-rating": "^1.1.1",
"ios-deploy": "^1.11.4",
"jwt-decode": "^3.1.2",
"moment": "^2.29.1",
"ngx-paypal": "^5.0.0",
"ngx-socket-io": "^4.1.0",
"node-sass": "^4.14.1",
"properties-parser": "^0.3.1",
"rxjs": "^6.5.5",
"socket.io": "^4.2.0",
"sweetalert2": "^9.11.0",
"zone.js": "~0.8.29"
},
"devDependencies": {
"@angular-devkit/architect": "~0.12.3",
"@angular-devkit/build-angular": "~0.12.3",
"@angular-devkit/core": "~7.2.3",
"@angular-devkit/schematics": "~7.2.3",
"@angular/cli": "7.2.4",
"@angular/compiler": "^7.2.16",
"@angular/compiler-cli": "^7.2.16",
"@angular/language-service": "^7.2.16",
"@capacitor/cli": "3.1.2",
"@ionic/angular-toolkit": "1.5.1",
"@ionic/lab": "3.2.10",
"@types/jasmine": "^3.3.16",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^12.6.9",
"codelyzer": "^5.1.2",
"cordova-android": "^9.1.0",
"cordova-android-support-gradle-release": "^3.0.1",
"cordova-ios": "^6.2.0",
"cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-android-permissions": "^1.1.2",
"cordova-plugin-androidx": "^3.0.0",
"cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-badge": "^0.8.8",
"cordova-plugin-camera": "^5.0.3",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-facebook-connect": "^3.2.0",
"cordova-plugin-fcm-with-dependecy-updated": "^3.2.0",
"cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-googleplus": "^7.0.2",
"cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-ionic-webview": "^4.2.1",
"cordova-plugin-local-notification": "^0.9.0-beta.2",
"cordova-plugin-nativegeocoder": "^3.4.1",
"cordova-plugin-network-information": "^3.0.0",
"cordova-plugin-request-location-accuracy": "^2.3.0",
"cordova-plugin-sign-in-with-apple": "^0.1.2",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-telerik-imagepicker": "^2.3.6",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-socialsharing": "^6.0.3",
"cordova-support-google-services": "^1.3.2",
"es6-promise-plugin": "^4.2.2",
"ionic-plugin-deeplinks": "^1.0.24",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^2.0.6",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"phonegap-plugin-multidex": "^1.0.0",
"protractor": "^5.4.4",
"ts-node": "~8.3.0",
"tslint": "~5.18.0",
"typescript": "3.2.4"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
},
"cordova-plugin-ionic-keyboard": {},
"cordova-android-support-gradle-release": {
"ANDROID_SUPPORT_VERSION": "27.+"
},
"cordova-plugin-androidx": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-geolocation": {
"GPS_REQUIRED": "true"
},
"cordova-plugin-nativegeocoder": {
"LOCATION_WHEN_IN_USE_DESCRIPTION": "Use geocoder service"
},
"cordova-plugin-camera": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-x-socialsharing": {
"PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires
photo library access to function properly.",
"PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo
library access to function properly."
},
"cordova-plugin-android-permissions": {},
"cordova-plugin-request-location-accuracy": {
"PLAY_SERVICES_LOCATION_VERSION": "16.+"
},
"cordova-plugin-local-notification": {},
"cordova-plugin-network-information": {},
"cordova-plugin-device": {},
"cordova-plugin-sign-in-with-apple": {},
"cordova-plugin-facebook-connect": {
"APP_ID": "APP_ID",
"APP_NAME": "MyApp",
"FACEBOOK_URL_SCHEME_SUFFIX": " ",
"OTHER_APP_SCHEMES": " ",
"FACEBOOK_AUTO_LOG_APP_EVENTS": "true",
"FACEBOOK_HYBRID_APP_EVENTS": "false",
"FACEBOOK_ADVERTISER_ID_COLLECTION": "true",
"FACEBOOK_ANDROID_SDK_VERSION": "11.3.0",
"FACEBOOK_IOS_SDK_VERSION": "11.1.0",
"FACEBOOK_BROWSER_SDK_VERSION": "v11.0"
},
"cordova-plugin-googleplus": {
"REVERSED_CLIENT_ID": "REVERSED_CLIENT_ID",
"WEB_APPLICATION_CLIENT_ID": "WEB_APPLICATION_CLIENT_ID"
},
"ionic-plugin-deeplinks": {
"URL_SCHEME": "myApp",
"DEEPLINK_SCHEME": "http",
"DEEPLINK_HOST": "myapp.domain.in",
"ANDROID_PATH_PREFIX": "/"
},
"cordova-plugin-fcm-with-dependecy-updated": {
"IOS_FIREBASE_MESSAGING_VERSION": "~> 7.4.0"
}
},
"platforms": [
"android",
"ios"
]
}
}
请帮帮我..。
发布于 2021-12-24 10:39:11
到2020年12月,即使您的应用程序已经在app上运行,如果这些新版本使用UIWebView,您也将无法上传其新版本。
您应该使用WKWebView而不是UIWebView,并将应用程序的新版本上传到app。这是解决你问题的唯一办法。
发布于 2022-01-01 13:07:13
当我上传到应用程序商店时,我也面临着同样的问题。然而,我使用了以下步骤来解决这个问题。
步骤1:安装以下两个Cordova插件-
步骤2:将以下行添加到config.xml中-
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
步骤3:重新构建应用程序并重新上传。
https://stackoverflow.com/questions/70471984
复制相似问题