Xcode: Could not locate device support files

后端 未结 12 2370
醉梦人生
醉梦人生 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:50

    Actually, there is a way. You just need to copy DeviceSupport folder for iOS 7.1 from Older Xcode to the new one. It's located in:

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1

    If you don't have the 7.1 files anymore, you can download a previous version of XCode on https://developer.apple.com/download/more/, extract it, and then copy these files to following path

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

    Credit

提交回复
热议问题