This iPad mini 2 (Model A1490) is running iOS 10.3 (14E277), which may not be supported by this version of Xcode.
my xcode version 8.2.1 my Device ios version 10.2
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 onXcode.app
and 'Show Package Contents')Remove
~/Downloads/Xcode8.3.3.xip
and~/Downloads/Xcode.app
Start Xcode 8.2.1. Done.
Just solved it. Get new Xcode here: https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12
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:
- Double check your device iOS version
- 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!
来源:https://stackoverflow.com/questions/43099863/how-to-use-ios-10-3-devices-with-xcode-8-2-1