從打包到上傳都沒問題,剛上傳的新版本也能在構建活動中看到(正在處理中),過一會該構建的版本莫名奇妙消失了,致電蘋果,告訴我說有發報錯郵件。
郵件內容如下
Dear Developer,
We identified one or more issues with a recent delivery for your app, "XXX" X.X (X). Please correct the following issues, then upload again.
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).
Best regards,
The App Store Team
原因使用廢棄的API UIWebView
搜索項目中UIWebView關鍵字相關的內容包括註釋都移除了依然是這個問題
繼續解決問題
- 下載class-dump 下載地址 http://stevenygard.com/projects/class-dump/
- 雙擊class-dump 完成安裝
- AD HOC證書打打包
- 桌面建個文件夾
- ipa放到該文件夾下
- 把ipa後綴名改爲zip,並解壓縮zip
- 得到 APP名字.app 的文件
終端輸入一下內容 ****.app 改成自己剛解壓縮出來的名字
class-dump -H ****.app -o ~/result
然後在 result文件夾下會有很多文件嘗試搜索 (第三方庫裏面可能用到 比如某信支付)