Xcode: Could not locate device support files

后端 未结 12 2393
醉梦人生
醉梦人生 2020-12-04 07:36

As i am trying to run my application from newly updated Xcode 8 to my iPhone 4 which is running iOS 7.1.2

It throws below error,

12条回答
  •  无人及你
    2020-12-04 07:46

    I have Xcode 10.1 and I can not run my application on my device with 12.2 iOS version.

    The easiest solution for me was:

    1. Go with finder at Xcode location
    2. Right Click -> Show Package Contents
    3. Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
    4. Here you find a list of supported version. Choose the most recent one and copy(In my case was 12.1 (16B91))
    5. Paste in the same folder(DeviceSupport) and call it with the version you need.(In my case was 12.2 (16E227))
    6. Close Xcode if you have it open
    7. Reconnect device if it was connected
    8. Open Xcode and build

    If this trick does not working, you have to get the versions from the new Xcode version.

    But you can try, saves a lot of time. Good luck!

    EDIT: Or you can download your needed device support from here: https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport

提交回复
热议问题