티스토리 뷰

반응형

Dear Developer,

We identified one or more issues with a recent delivery for your app, "OOO. 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

 

유니티 프레임워크에서 UIWebView 가 사용되고 있어서 업로드가 안되는 상황이다.

이제는 사용하면 안되는 UIWebView 를 WKWebView 로 변경해주면 됨.

 

 

 

 

 

터미널에서

해당 디렉토리로 이동

cd Documents/VRApp

 

 

 

 

UIWebView 포함하고 있는거 검색

grep -r UIWebView .

 

 

 

 

Binary file ./OOO.xcworkspace/xcuserdata/OOO.xcuserdatad/UserInterfaceState.xcuserstate matches

이런게 나온다면

git rm --cached ./OOO.xcworkspace/xcuserdata/OOO.xcuserdatad/UserInterfaceState.xcuserstate

이런식으로 삭제

 

 

 

 

./Pods/GVRSDK/Libraries/libGVRSDK.a

이런게 나온다면

brew install vim 으로 vim 설치 후 

아까 경로 찾은 디렉토리에서

vim ./Pods/GVRSDK/Libraries/libGVRSDK.a 로 파일 열기

파란색 이상한 문자들로 나옴 (정상임)

 

: 콜론을 입력하면 명령어를 쓸 수 있도록 나옴

%s/UIWebView/WKWebView/g

입력 후 엔터

 

:wq!  저장 종료

 

 

 

 

터미널 작업 완료 후

유니티 프로젝트랑 유니티 pods Build Phases - Link Binary With Libraries WebKit.framework 전부 추가

 

 

 

위 과정 모두 진행 후

앱스토어 업로드하면 됨.

 

 

 

Xcode iOS Swift

반응형
댓글
300x250
반응형
최근에 올라온 글
최근에 달린 댓글
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Total
Today
Yesterday