報錯:
We identified one or more issues with a recent delivery for your app, "xxx" 1.0.0 (0). 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).
原因:
UIWebView控件已經棄用,需要替換爲WKWebView控件。
用Unity導出XCode工程打包,導出時會自動把Unity的組件對應到iOS控件,要解決這個問題只能Unity來更新底層邏輯。
解決:
可以替換更高的Unity版本,高版本已經解決了這個問題。
報錯版本:Unity 2018.3.14,更新到目前最新版本2019.3.15,再導出工程打包不報錯。