본문 바로가기
프로그래밍/Xcode-iOS

ITMS-90809: Deprecated API Usage, new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020.

by Mr-후 2020. 4. 28.
반응형

조만간 앱을 업데이트 해야할 일이 있어 사전에 바이너리 업로드 테스트를 진행했다. 요즘은 Xcode도 최신을 유지해야 아카이빙해서 바로 업로드할 수 있다고 하길래... 

뭐 앱이야 잘 올라갔는데 개발자 메일로 메일이 한 통 왔다. 우리 앱 기능의 반은 웹뷰(UIWebView)에서 돌아가고 있어서 아주 중요한데 이미 이 녀석은 Deprecated된 녀석이라 더이상 사용하면 안되는 녀석이긴 하다. 

바꿔야지 바꿔야지 하는데 그게 내맘같지 않다. 사실 내맘 먹는대로 하면 될 것 같긴 한데 또 그건 왠지 억울한(?) 느낌이랄까? 

여튼, 조만간 브랜치 하나 따서 작업을 진행하기 해야할 판이다. 

새로운 앱에서 UIWebView는 이제 사용할 수 없고 기존 앱 업데이트도 올해(2020년) 12월 까지만 지원된다고 한다. 참조해서 웹뷰를 사용하는 곳은 WKWebView를 공부해서 사용하라고 메일이 왔다. 

WKWebView는  WebKit을 import해서 사용해야 한다. 

다음은 몇 군데 올라와있는 비교글이다. 



https://mrgamza.tistory.com/515

 

WKWebView와 UIWebView의 차이점 비교

iOS8 부터는 WKWebView를 사용할수 있습니다. 심지어 xcode에서는 현재 deprecate 되었습니다. xcode9 기준... 그렇지만 스토리보드에서 바로 붙여서 사용하려고 하면 오류가 발생하죠. 어쩔수 없이 코드에서 붙여..

mrgamza.tistory.com

https://sesang06.tistory.com/172

 

UIWebView 를 WKWebView 로 이전할 때 반드시 알아야 하는 7가지 주의 사항

작년 9월경부터, 앱을 테스트플라이트에 올리면 메일로 이런 메일이 오기 시작했습니다. Dear Developer, We identified one or more issues with a recent delivery for your app. Your delivery was successful..

sesang06.tistory.com

https://developer.apple.com/documentation/webkit/wkwebview

 

WKWebView - WebKit | Apple Developer Documentation

The methods of the WKNavigationDelegate protocol help you implement custom behaviors that are triggered during a web view's process of accepting, loading, and completing a navigation request.

developer.apple.com

 

메일 전문은 다음과 같다. 

Dear Developer,

We identified one or more issues with a recent delivery for your app, "xxxx – xxxxxxxx" 3.0.0 (2.9.0). 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

반응형