Ios 不再接受使用UIWebView的TestFlight新应用程序。相反,请使用WKWebView
尝试部署到TestFlight时出现此错误:Ios 不再接受使用UIWebView的TestFlight新应用程序。相反,请使用WKWebView,ios,swift,uiwebview,app-store,wkwebview,Ios,Swift,Uiwebview,App Store,Wkwebview,尝试部署到TestFlight时出现此错误: 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). 我知道
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).
我知道我需要将ios文件夹中的所有uiwebview更改为WKWebView。我不知道从哪里开始,需要更新什么
提到uiwebview的地方
这是播客文件
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'BorroUp' do
# this is very important to have!
rn_path = '../node_modules/react-native'
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
pod 'React', path: rn_path, subspecs: [
'Core',
'RCTActionSheet',
'RCTAnimation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket'
]
pod 'FBSDKCoreKit', '~> 4.39.1'
pod 'FBSDKLoginKit', '~> 4.39.1'
pod 'FBSDKShareKit', '~> 4.39.1'
# Stripe
pod 'Stripe', '~> 14.0.0'
# Install additional dependencies
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/Firestore'
pod 'Firebase/Messaging'
pod 'Firebase/Performance'
pod 'Firebase/Storage'
inherit! :search_paths
pod 'RNImageCropPicker', :path => '../node_modules/react-native-image-crop-picker'
end
# very important to have, unless you removed React dependencies for Libraries
# and you rely on Cocoapods to manage it
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
if target.name == "yoga"
target.remove_from_project
end
end
end
考虑将目标OS版本升级到iOS 13,以使所有的POD都不使用UIWebVIEW。我将从“代码> FBSDKCOREKIT工具包< /COD>、<代码> FBSDKLogink IT < /代码>和<代码> FBSDKSytKys开始运行,并运行<代码> POD更新< /代码>。您已经指定了那些版本的POD。请考虑将目标OS版本升级到iOS 13,以使所有的POD都不使用UIWebVIEW。我将从“代码> FBSDKCOREKIT 、<代码> FBSDKLogink IT < /代码>和<代码> FBSDKSytKys开始运行,并运行<代码> POD更新< /代码>。您已经指定了这些豆荚的古代版本。