수상한 프로그래머/React Native

Could not locate device support files xcode 버전 오류시

산산지 2020. 1. 28. 11:33
반응형

Could not locate device support files.

This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 11.1 (15B93), which may not be supported by this version of Xcode.

 

내가 만든 앱이 최신 ios 노치에 메뉴가 보이지 않아 iphone x를 연결하여

xcode로 디버깅하려고 했는데 위와 같은 오류가 발생하였다.

당황하지 말고 아래 사이트에 가서 발생하는 오류 버전을 다운받아보자

https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport

 

iGhibli/iOS-DeviceSupport

This repository holds the device support files for the iOS, and I will update it regularly. - iGhibli/iOS-DeviceSupport

github.com

그다음 아래 순서대로 다운받은 파일을 이동시킨다.

  • 파인더 실행
  • 응용프로그램
  • Xcode 앱찾기
  • Xcode 앱 우클릭 후 패키지 내용보기
  • 아래 경로로 따라가서 다운 받은 파일 이동시키기

    Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
    (/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport)

  • Xcode껐다 켜기
  • 빌드 클린하기 ( Product > Clean build folder)

결국 xcode까지 버전업을 해서 성공했다 ㅠㅠ 

반응형