Hello,
I want to upload my app to AppStore, archive is successfully uploaded but then AppStore is rejecting my app due to usage of UIWebView.
It was on ionic4 and i upgraded to ionic5 to get rid of this error.
ionic info result is below;
Ionic:
Ionic CLI : 6.12.2 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.5.2
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : ios 6.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 7 other plugins)
Utility:
cordova-res : not installed
native-run (update available: 1.3.0) : 1.2.2
System:
ios-deploy : 1.11.3
ios-sim : 8.0.2
NodeJS : v14.15.1 (/usr/local/bin/node)
npm : 6.14.8
OS : macOS Big Sur
Xcode : Xcode 12.2 Build version 12B45b
and when i check which frameworks are using UIWebView, they are
AppAuth
FBLPromises
GTMAppAuth
GTMSessionFetcher
GoogleUtilities
nanopb
and my latest podfile is this
source ‘https://cdn.cocoapods.org/’
platform :ios, ‘11.0’
use_frameworks!
target ‘Prediction Game’ do
project ‘Prediction Game.xcodeproj’
pod ‘GoogleSignIn’, ‘~> 5.0.2’
pod ‘GoogleUtilities’, ‘~> 6.7’
pod ‘OneSignal’, ‘2.16.1’
pod ‘Google-Mobile-Ads-SDK’,‘7.64.0’
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings[‘IPHONEOS_DEPLOYMENT_TARGET’] = ‘9.0’
end
end
end