44

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

8
  • 8
    This is ridiculous - Apple says i don't even have an update for Xcode in the app store.
    – Clayton C.
    Mar 29, 2017 at 19:35
  • 3
    developing for apple products is the worst experience ever. after every update in iOS my development env is stuck and i have to do this and that to do even simple debugging on my own iphone
    – Adeem
    Apr 28, 2017 at 11:14
  • 3
    iPhone Developer for nearly 6 years now - but Ive got to say this is one of the very crappest things. Im constantly unsure whether I can update my phone and whether or not it will break XCode. Sort it out Apple.
    – Luke Smith
    May 4, 2017 at 8:25
  • 2
    @LukeSmith agreed. I been developing for 8 yrs now and Apple are so stupid right now I can't even begin to say how much i hate them.
    – GeneCode
    May 25, 2017 at 3:22
  • 2
    @Adeem and the download size 4.5 GB. Awesome.
    – m.awad
    Jun 27, 2017 at 19:27

5 Answers 5

85

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.

10
  • 2
    Nice hack! Works without upgrading to macOS Sierra.
    – voltae
    May 7, 2017 at 9:46
  • 5
    In Xcode 8.2, iOS 10.3 won't appear as an option in the base SDK nor in the iOS Deployment Target, but you can still deploy the app to your iOS 10.3 device without problem.
    – Jack G.
    May 20, 2017 at 15:51
  • 2
    This worked for me. Thanks. If you want to download stuff from Apple and not from an unknown developer and also to not have to upgrade your Mac to Sierra then use this solution. May 26, 2017 at 16:44
  • This worked great! I got the app to build but initially it wouldn't run on the device. Xcode complained in the console that dyld would not load libswiftAVFoundation.dylib as no suitable image was found and the only available one had an invalid code signature... So I did a Product -> Clean action (CMD-Shift-K) and rebuilt the app and that solved it.
    – llude
    Jul 3, 2017 at 0:04
  • 1
    For some reason Finder gets stuck at verifying the xip. Any ideas?
    – Pier
    Aug 29, 2017 at 0:19
62

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

5
  • 1
    Only needed to disconnect & reconnect device restart Xcode. Also, you'll need to wait for Xcode to process the symbol files but this solution works :) Apr 7, 2017 at 17:24
  • 2
    It is possible to avoid the Dropbox download and download from Apple instead.
    – u17
    Apr 29, 2017 at 14:35
  • 1
    Thank you for this! Apr 29, 2017 at 20:50
  • 4
    uuh - i strongly not recommend to download xcode from unknown source. i remember there was a infection vector by installing xcode from download servers in china. all apps build with this xocde got infected
    – muescha
    May 22, 2017 at 16:44
  • 1
    This has saved me twice now.
    – bmovement
    Apr 26, 2018 at 14:08
12

Just solved it. Get new Xcode here: https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12

8
  • 2
    This should be the correct answer, and not downvoted... All you need to do is manually search "xcode" on the App store and download it. It won't show up on your dock as an available download depending on how you first installed it.
    – Joe
    Mar 30, 2017 at 21:23
  • Thanks, @Joe. No idea why no one liked the answer - this was an easy fix.
    – Clayton C.
    Mar 31, 2017 at 0:53
  • fixed it for me!
    – lisa
    Mar 31, 2017 at 10:13
  • 17
    Note that this requires Mac OS 10.12 (Sierra). If you try to install on Mac OS 10.11, the Mac App Store doesn't show an error, it just shows an endless activity indicator.
    – arlomedia
    Apr 10, 2017 at 16:59
  • 2
    Upgrading xcode is not the "correct" answer @joe, but it is "an" answer. The question specifically asks for how to deploy to ios 10.3 WITH his current version of XCode, which jejix answered directly. Apr 29, 2017 at 20:55
3

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.

2
  • I had to go through downgrade option using support.apple.com/en-us/ht201274 having MacBook from beginning of 2009 which is not supported by macOS Sierra. Apr 3, 2017 at 4:52
  • But no, it haven't restored previous iOS version. Too bad. Apr 3, 2017 at 5:03
0

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!

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.