WebView 를 쓰게되면 iOS 배포시 에서 아래와 같은 메일이 온다.

(Renderer 를 사용할때 WkWebViewRenderer 을 사용해도 마찬가지)

Dear Developer,

We identified one or more issues with a recent delivery for your app, "***" 1.0.0 (12). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

Best regards,

The App Store Team


우선 이내용이 있다고해서 배포가 안되는건 아니다.

App Store 에 배포는 가능하지만 거슬린다면 아래처럼 진행하면 된다


iOS 프로젝트 속성 > iOS 빌드에서 링커동작을 'Link All' 로 선택하고

추가  mtouch 인수에 '--optimize=experimental-xforms-product-type

값을 넣고 배포하면 문제가 해결된다.




참고

https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/


+ Recent posts