How to use iOS 10.3 devices with Xcode 8.2.1

点点圈 提交于 2019-11-28 16:30:46

In order to run your app on 10.3 device with Xcode 8.2.1 you'll need a new Developer Disk Image for 10.3.

You can follow this user's guide here that seems is working for me too. Use at your own risk.

Steps:

1.Download Zip file and extract.

2.Click on "Finder" in MAC OS

3.Click on "Go to Folder"

4.Paste /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Otherwise go to Applications > Right Click on Xcode > Show Package Contents and follow the directories above.

5.You'll notice that your versions ends at 10.2. So you need the new 10.3. Paste downloaded folder.

6.Reboot Device + Xcode + Mac

You can avoid both the update to Xcode 8.3 (which works only with macOS Sierra) and the Dropbox download from a random link on GitHub, as suggested in other answers. To work with iOS 10.3 in Xcode 8.2.1, follow these steps:

  • Exit Xcode 8.2.1

  • Download Xcode8.3.3.xip from Apple (https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_8.3.3/Xcode8.3.3.xip) (requires sign-in)

  • Unzip ~/Downloads/Xcode8.3.3.xip (in Finder, double-click)

  • Copy folder 10.3.1 (14E8301) from ~/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport (in Finder, right click on Xcode.app and 'Show Package Contents')

  • Remove ~/Downloads/Xcode8.3.3.xip and ~/Downloads/Xcode.app

  • Start Xcode 8.2.1. Done.

According to the message it feedbacks to you, I believe your device iOS version is 10.3. And you have to update your Xcode to 8.3 since it provides the necessary SDKs for iOS 10.3 (see more detail from Apple).

I think what you can do is:

  1. Double check your device iOS version
  2. If it is iOS 10.3, update your Xcode from App Store (Notice that it requires your Mac running macOS 10.12 or later). Or if you have to test your project on iOS 10.2, just find a way to downgrade it (Downgrade iOS 10.3 to the previous iOS version).

Hope this helps.

I had this exact same issue, for me the fix was to keep running the app from xcode...eventually it just booted up on my phone and the error went away.

Hopefully this helps someone!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!