|
/

libUMSocialCloudShare.a包含UIWebView导致无法上传AppStore

Ss*
发布于 3 年前
120来自江苏省
社会化分享 U-Share
SDK集成与升级

集成打包上传到AppStore,被拒绝,提示如下:

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).

尝试执行命令查看符号,发现包含UIWebView。

$ nm ./libUMSocialCloudShare.a | grep UIWebView

U _OBJC_CLASS_$_UIWebView

---------------- d __OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate

---------------- d __OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate

---------------- d __OBJC_$_PROTOCOL_REFS_UIWebViewDelegate

---------------- W __OBJC_LABEL_PROTOCOL_$_UIWebViewDelegate

---------------- W __OBJC_PROTOCOL_$_UIWebViewDelegate

请问如何处理

1个回答
 
3 年前
来自浙江省

您好,iOS Share SDK内包含UIWebView,提交不了苹果商店,请检查下,如果您没有直接调用该库功能的话,可以把这个库去掉,我们pods上已经不会自动导入这个库了。

Loading ...
登录社区,分享你的经验