Updating a device to iOS 11.2 breaks support with Xcode 9.1

后端 未结 6 1325
我在风中等你
我在风中等你 2021-01-03 23:27

I tried to run my app on a device running iOS 11.2 and received the following error:

Could not locate device supported files.

相关标签:
6条回答
  • 2021-01-03 23:59

    Get the device support file from here if latest available Device Support File

    0 讨论(0)
  • 2021-01-04 00:13

    It seems that Apple released iOS 11.2 to the public without releasing Xcode 9.2 yet (the Mac App Store reports 9.1 as latest at the time of this writing), which includes the iOS 11.2 SDK necessary to target devices running iOS 11.2. You should be able to run this on your device with the Xcode 9.2 beta, which you can download from the developer download page if you have a developer account

    EDIT: Xcode 9.2 is publicly available now, and you can download it from the Mac App Store

    0 讨论(0)
  • 2021-01-04 00:13

    Xcode 9.2 has finally been released. You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip

    0 讨论(0)
  • 2021-01-04 00:22

    Any one having this kind of Error when your device OS version is updated and Your Xcode version is not.

    Xcode - Version 9.1 (9B55) Device Version - 11.3

    Solution:

    Find your friends who have latest Xcode 9.x

    From following ways you can get device support files

    1. Go to Finder and Search

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

    1. Right click on Xcode -> Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.X Copy the 11.X

    Please note X - will be Versions

    Also you can download from this link - https://github.com/filsv/iPhoneOSDeviceSupport/issues/7

    After you get device supporting files, Add all the new version to yours Xcode DeviceSupport folder

    Restart the Xcode and You are Ready to debug :)

    0 讨论(0)
  • 2021-01-04 00:25

    I have Xcode9.2 on my MacBook and 8 on my MacMini. So I just copied the 11.2 DeviceSupport DeveloperDiskImage .dmg and .signature from the MacBook to the MacMini. Worked fine.

    0 讨论(0)
  • 2021-01-04 00:26

    For the rookies like me, if you get a message similar to this:

    "This iPhone 6 is running iOS 11.2.X, which may not be supported by this version of Xcode."

    It means you have to update Xcode.

    I hit this problem when my phone was running 11.2.6 and I was running Xcode Version 9.0

    You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip

    0 讨论(0)
提交回复
热议问题