Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using iOS 13.2 devices with Xcode 11.1 (instead of Xcode 11.2) (also, Xcode 10.3)
// The trick is to link the DeviceSupport folder from the beta to the stable version.
// sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :)
// Support iOS 13.2 devices (Xcode 11.2) with Xcode 11.1:
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
// Xcode 10.3 to Xcode 11
sudo ln -s /Applications/Xcode-11.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0 /Applications/Xcode-10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
// Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions
@nuudles

This comment has been minimized.

Copy link

commented Jun 20, 2016

I prefer a symbolic link. Less duplication and still works!

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5261u\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@rshev

This comment has been minimized.

Copy link

commented Jul 6, 2016

I'm getting strange kAMDMobileImageMounterDeviceLocked error with beta 2. Does it work for you guys?
(of course I use path for 14A5297c build)

@gravicle

This comment has been minimized.

Copy link

commented Jul 6, 2016

@rshev: Was getting the same.

Restarted Xcode
Disconnected and then reconnected iPhone
Xcode processed symbol files again

Works now.

@cherpake

This comment has been minimized.

Copy link

commented Jul 7, 2016

For Beta2:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ (14A5297c)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@hactar

This comment has been minimized.

Copy link

commented Jul 7, 2016

cherpake's didnt work for me, (missing a slash). This worked for me for beta2:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5297c\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@epicdude3161

This comment has been minimized.

Copy link

commented Jul 8, 2016

@gravicle HELP. im getting kAMDMobileImageMounterDeviceLocked as well... tried everything, even xcode beta 8

@ethanhuang13

This comment has been minimized.

Copy link

commented Jul 19, 2016

For Xcode 8 beta 3, use:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5309d\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@Druux

This comment has been minimized.

Copy link

commented Jul 21, 2016

@ethanhuang13 I just created a symlink but I am still unable to switch the Deployment Target of my application in Xcode 7.3.1 to iOS 10.0...

@MarioQueiros

This comment has been minimized.

Copy link

commented Jul 30, 2016

Same problem as @ethanhuang13

@ethanhuang13

This comment has been minimized.

Copy link

commented Aug 2, 2016

The symlink just create iOS 10 device support for Xcode 7. You still need to use Xcode 8 to build against iOS 10 SDK or to use iOS 10 as Deployment Target. However, if you want to play with iOS 10 SDK but would like to keep the status of your project, suggest to read: Simultaneous Xcode 7 and Xcode 8 compatibility.

@ethanhuang13

This comment has been minimized.

Copy link

commented Aug 2, 2016

For Xcode 8 beta 4:
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5322e\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@Legoless

This comment has been minimized.

Copy link

commented Aug 10, 2016

For Xcode 8 beta 5:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5335a\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

For Xcode 8 beta 6:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5339a\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@jstheoriginal

This comment has been minimized.

Copy link

commented Aug 15, 2016

I haven't had to re-do this since grabbing the device support folder from beta 1...but I updated iOS 10 to beta 6 and now I'm getting "Unable to read from device". Anyone confirm this doesn't happen if you regrab the device support folder from the latest Xcode 8 beta?

@soffes

This comment has been minimized.

Copy link

commented Aug 16, 2016

I could get this to work with Xcode beta 6 but not on a device with beta 6. A device with beta 5 works though. Noticed the Device Support folder ends in 39a but the OS on my beta 6 device ends in 41a. Guessing that's the problem.

@weinspach

This comment has been minimized.

Copy link

commented Aug 16, 2016

After adding the link to the beta 6 folder I'm sometimes getting strange errors in Xcode 7.3.1 when running my apps (even with the simulator).

@jstheoriginal

This comment has been minimized.

Copy link

commented Aug 17, 2016

Noticed the Device Support folder ends in 39a but the OS on my beta 6 device ends in 41a. Guessing that's the problem.

Yup...that would likely be the problem since Xcode doesn't think it should exist. >.<

@tianguanghui

This comment has been minimized.

Copy link

commented Aug 17, 2016

@soffes @jstheoriginal
I have the same problem about "Noticed the Device Support folder ends in 39a but the OS on my beta 6 device ends in 41a".
Is there any other way to resolve the problem?

2016-08-23 After I reset the iPhone networks,then reboot the iPhone,then I can build on my iPhone.

@SAPIENTechnologies

This comment has been minimized.

Copy link

commented Aug 17, 2016

I was able to build on my OS X 10.11.6 machine using XCode 7.3.1 on an iPad Mini 4 running iOS 10.0 beta 6 but when I try building on my iPhone 6S running 10.0 beta 6. I get the "Cannot read from device" error. I have tried everything posted above to no avail.

@StanislavK

This comment has been minimized.

Copy link

commented Aug 24, 2016

2016-08-24: Copied the last 2 disk images from Xcode 8.b5+b6 and after I reboot (this is mandatory) iPhone (6S+) and restarted Xcode: I can now build from Xcode 7.3.1, thanks @tianguanghui

@jstheoriginal

This comment has been minimized.

Copy link

commented Aug 29, 2016

Finally!!! Back to being able to test iOS 10 with Xcode 7.

Thanks to @tianguanghui & @StanislavK

  1. Copy the 2 disk images from Xcode 8 b5/6 into Xcode 7 as described above.
  2. On your iPhone, go to Settings and reset your NETWORK settings.
  3. Restart iPhone and Xcode

It should now properly install the symbol files and let you install your build once that is complete.

@timbroder

This comment has been minimized.

Copy link

commented Aug 31, 2016

What worked for me

Setup:
Xcode 7.3.1 and Beta 6
iOS 10 beta 6

  1. sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5339a\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  2. iPhone: Settings > General > Reset > Network Settings
  3. Reboot iPhone
  4. Reboot Mac (restarting Xcode alone didn't work)
@Maxatma

This comment has been minimized.

Copy link

commented Sep 6, 2016

Just create symlink like

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(xxXxxxxX\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

but first find xxXxxxxX in your Xcode-beta folder:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\

I just reopen Xcode and it work, no reboots.

@zhaoxiaobao

This comment has been minimized.

Copy link

commented Sep 17, 2016

nice

@youweit

This comment has been minimized.

Copy link

commented Sep 19, 2016

this save my life

@Schr0eder

This comment has been minimized.

Copy link

commented Sep 23, 2016

Nice, i read about this little trick at stack overflow but it didn't seem to work. But reconnect the iPhone was the missing detail. Thank you for this help.

@SailReal

This comment has been minimized.

Copy link

commented Sep 23, 2016

👍 Thank you very much!!!

@loisyang

This comment has been minimized.

Copy link

commented Sep 29, 2016

After I did "sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ (14A456)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport" , another error message appears: "The file “DeveloperDiskImage.dmg.signature” couldn’t be opened because there is no such file." Do you know why?

@StanislavK

This comment has been minimized.

Copy link

commented Oct 5, 2016

For iOS 10.1 beta 2 and Xcode 8.0:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.1\ (14B65)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

  • restart Xcode, then plug in device.
@StanislavK

This comment has been minimized.

Copy link

commented Oct 5, 2016

@loisyang Maybe check /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ to see if there is folder 10.0 (14A456) as in your script. If not see comments above.

@revolter

This comment has been minimized.

Copy link

commented Oct 26, 2016

Shouldn't Xcode have an update that works with iOS 10.1 by now?

@mikelsons

This comment has been minimized.

Copy link

commented Oct 26, 2016

@drunknbass

This comment has been minimized.

Copy link

commented Nov 16, 2016

sudo ln -s "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.2 (14C5077a)/" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"

@drunknbass

This comment has been minimized.

Copy link

commented Jan 27, 2017

sudo ln -s "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3 (14E5230d)/" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"

@StanislavK

This comment has been minimized.

Copy link

commented Feb 7, 2017

For iOS 10.3 b2 (14E5239e), get Xcode 8.3 b2 and then:

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\ (14E5239d)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@burakodabas

This comment has been minimized.

Copy link

commented Feb 10, 2017

I don't want to download Xcode 8.2 BETA ( 4.5 GB ). I need IOS os 10.3 SDK. Could you send /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\ (14E5239d)/ me ? I need only ONE folder. Then, I paste this into Xcode folder. I hope that works correctly :)

If someone upload this folder, make me happy :)

@juanocataldo

This comment has been minimized.

Copy link

commented Mar 22, 2017

@burakodabas , mate, did you try that? with the content folder? If you did ant its working, could you share it with me? :) :) 👍

@Romanmikey

This comment has been minimized.

Copy link

commented Mar 22, 2017

Hello - I need to connect iOS 10.2.1 device in testplant app, please advise what version xcode, OSX version, and iOS GW to you used

@yuriismith

This comment has been minimized.

Copy link

commented Mar 29, 2017

If somebody needs contents of 10.3 folder from Xcode 8.3 (this is to build on iOS 10.3 devise using Xcode 8.2) https://drive.google.com/open?id=0B6RLdMSojh9TOW5DZmV1WVB3N3c

@DirtyLyle

This comment has been minimized.

Copy link

commented Mar 29, 2017

Hello, is there a way to use a iPhone with 10.3 with xcode 8.2.1? My older macbook pro early 2008 doesn't support sierra. :(

@mendaparadarshit

This comment has been minimized.

Copy link

commented Mar 30, 2017

Here I have this file for 10.3 into Xcode 8+.
You can download file from this link.

https://www.dropbox.com/s/i1f7q8w3vgr2ozl/10.3%20%2814E269%29.zip?dl=0

Steps:-

  1. Download above Zip file and extract them.
  2. Click on "Finder" in MAC OS
  3. Click on "Go to Folder"
  4. Paste this path over their (make sure that you have installed xcode with named : "Xcode.app")
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  5. Paste your extracted "10.3 (14E269)" directory to that place.
  6. quite Xcode and restart it. you can run your projects successfully in your real device.

Thank you,

Darshit

@sgiatrakis

This comment has been minimized.

Copy link

commented Mar 30, 2017

@mendaparadarshit tried that but didn't work.

iPhone version is 10.3 (14E277)
Maybe i need a different .zip matching that version ?
Thanks

@mendaparadarshit

This comment has been minimized.

Copy link

commented Mar 31, 2017

@sgiatrakis have you checked that in path "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport" there is directory exist after copy paste this "10.3 (14E269)" directory because I have used this directory in 3 other PC and its working nice because I have my own company and we have team (Using 5s 10.3 after upgrade and xcode 8.2.1 with 10.2 iOS so needed to done that in all System.) and also I have restarted system after done this process.

@nickAppleDev

This comment has been minimized.

Copy link

commented Mar 31, 2017

@mendaparadarshit

Its not working for me too, please check it again with your xcode :)

@dxshindeo

This comment has been minimized.

Copy link

commented Mar 31, 2017

Darhsits solution worked, thanks!

@sgiatrakis

This comment has been minimized.

Copy link

commented Mar 31, 2017

@mendaparadarshit mac's reboot did the trick for me. Thank you!

@crododile

This comment has been minimized.

Copy link

commented Mar 31, 2017

@mendaparadarshit mac's reboot did the trick for me too. Thank you!

@jyoten

This comment has been minimized.

Copy link

commented Apr 1, 2017

@mendaparadarshit, this worked for me too

@jasonwiener

This comment has been minimized.

Copy link

commented Apr 3, 2017

worked on the first try. thanks @mendaparadarshit!

@mykoma

This comment has been minimized.

Copy link

commented Apr 5, 2017

It's worked, thanks.

@ahmedpamin

This comment has been minimized.

Copy link

commented Apr 7, 2017

Need one for 10.3.1 "running iOS 10.3.1 (14E304), which may not be supported by this version of Xcode."

@romin771

This comment has been minimized.

Copy link

commented Apr 9, 2017

@mendaparadarshit thank you , with your explanation i solved my problem , cheers

@sandalsoft

This comment has been minimized.

Copy link

commented Apr 9, 2017

@mendaparadarshit's tip did it for me. Instructions worked perfectly, thank you!

For those who find this later, it's this comment: https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d#gistcomment-2042751

And I mirrored the 10.3 (14E269) directory in case @mendaparadarshit removes his: https://dl.dropboxusercontent.com/u/9896528/10.3%20(14E269).zip

@ChauVietnamVTM

This comment has been minimized.

Copy link

commented Apr 10, 2017

Need one for 10.3(14E277), Please help me.

@Behinder

This comment has been minimized.

Copy link

commented Apr 10, 2017

Same here. I can host all the versions if anyone needs but first someone need to share the files.
What Apple thinks...there are lot of people that still uses El Cap and cannot just move to Sierra

@pritesh2015

This comment has been minimized.

Copy link

commented Apr 10, 2017

It's worked, thanks.

@tomcondon

This comment has been minimized.

Copy link

commented Apr 10, 2017

@actually 10.3.1 only requires device support 10.3 (14E269). I renamed my XCode to Xcode_8.2.1 and installed Xcode 8.3.1 then ran the following command: "sudo cp -pPR /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\ (14E269) /Applications/Xcode_8.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport". Just make sure Xcode-select is pointing to your Xcode 8.2.1 and you should be good to go. After I did this I was able to run from Xcode and successfully deploy to TestFlight.

@crogers31

This comment has been minimized.

Copy link

commented Apr 13, 2017

Shoutout to @mendaparadarshit the real mvp. Worked like a charm.

@psimondk

This comment has been minimized.

Copy link

commented Apr 15, 2017

Managed to get Xcode 7.3 working by symlinking the 10.3 image from Xcode 8.3.

@Neeraj204

This comment has been minimized.

Copy link

commented Apr 18, 2017

@mendaparadarshit need 10.3.1(14E304) developer disk image, plz share if you have. Thanks

@ThrowJojo

This comment has been minimized.

Copy link

commented Apr 19, 2017

@mendaparadarshit Thanks for sharing this fix so much. Worked for me without any restarting.

@ThrowJojo

This comment has been minimized.

Copy link

commented Apr 19, 2017

@Neeraj204 Try the file that he has already uploaded to the dropbox if you haven't. I thought I would probably need 14E304 as well but it turned out to work fine.

@northkode

This comment has been minimized.

Copy link

commented Apr 20, 2017

if anyone has 14E304 please ping me.. i tried the 10.3 and it doesn't work.

@adam187

This comment has been minimized.

Copy link

commented Apr 20, 2017

+1 for 10.3.1(14E304) developer disk image

@andremacpereira

This comment has been minimized.

Copy link

commented Apr 20, 2017

+1 for 10.3.1(14E304) developer disk image

@petscheit

This comment has been minimized.

Copy link

commented Apr 20, 2017

The initial instruction worked for me - 10.3.1 (14E308)

@charleshkang

This comment has been minimized.

Copy link

commented Apr 21, 2017

thank you @mendaparadarshit, your solution worked for me.

@rerezz

This comment has been minimized.

Copy link

commented Apr 21, 2017

Xcode was asking me for 14E304 as well. I tried with 14E269 @sandalsoft provided. This worked for me. Thanks to everyone who helped to solve this issue!

@superdraw

This comment has been minimized.

Copy link

commented Apr 21, 2017

+1 for helping solve a really ugly situation! I'm using Xcode 8.2.1 and the vanilla 10.3 download from @mendaparadarshit allowed me to get my 10.3.1 device working fine with Xcode (via xcode automagically getting the symbols from the 10.3.1 device). This should work with all 10.3 variants moving forward as well...

@coreywiley

This comment has been minimized.

Copy link

commented Apr 22, 2017

@mendaparadarshit solution worked for me too. Running a 2008 Macbook Xcode 8.2.1 & iPhone 6 10.3.1 FTW!

@mgwiggles

This comment has been minimized.

Copy link

commented Apr 22, 2017

Xcode was asking me for 14E304 as well. I also tried the 14E269 @sandalsoft provided and this worked for me as well! Thanks for the support everyone!

@DirtyLyle

This comment has been minimized.

Copy link

commented Apr 24, 2017

Mendaparadarshit's solution worked for me too. Running a 2008 Macbook Pro with El Capitan and Xcode 8.2.1 using an iPhone 7 with iOS 10.3.1!

Thanks a lot!

@dsp420

This comment has been minimized.

Copy link

commented Apr 24, 2017

Probably on wrong forum. But maybe you can help. My iPhone is on iOS 10.3. My Xcode goes only to 7.1.2 I believe sincenit can't go past Yosemite. Old Mac book pro. But I've read you can change somethings to make it work. I'm trying to spoof a location for an app but I get the worsening for a disk management. My guess is that it means I have to pay for a developer license but everyone else I've asked for this to get done didn't pay for one. If you know a way and can help me or point me to right place. I'd really appreciate it because when it comes to team I'm just supposed to put Apple ID in but it won't accept. And I'm guessing because my iOS doesn't reach 10.3 any pointers would help. Thank you

@rrainier3

This comment has been minimized.

Copy link

commented Apr 28, 2017

From a dev to a dev -- thank you! ;)

@artemsmikh

This comment has been minimized.

Copy link

commented Apr 29, 2017

@mendaparadarshit, thank you very much, you saved me.

@machive

This comment has been minimized.

Copy link

commented May 1, 2017

I just ran into this problem with 14E304. I tried copying in the downloaded 14E269 but I'm still getting the error when trying to run my app on iOS 8.3.1 from Xcode 8.2.1. I shouldn't have upgraded my phone, I did it without thinking!

I can't upgrade to Xcode 8.3 right now because I have a ton of issues with moving to Swift 3.

Any ideas? How did other people fix the 14E304 error by using the 14E269 download?

@yocheved-check-in

This comment has been minimized.

Copy link

commented May 8, 2017

same problem :(
Did you solved it?

@garrincha33

This comment has been minimized.

Copy link

commented May 8, 2017

@mendaparadarshit - all you need know is this tip to fix issue! thanks for sorting this terribly painful issue

@curiousios

This comment has been minimized.

Copy link

commented May 9, 2017

@mendaparadarshit could you please help me with Disk Image 14E304, this is a bit Urgent!!!

@machive

This comment has been minimized.

Copy link

commented May 10, 2017

@yocheved-check-in I'm stuck like @curiousios and can no longer run the app on my phone. I'm going to have to get the app up and running under Xcode 8.3 but the Swift 3 issues are a nightmare so it will take a while.

@qmark

This comment has been minimized.

Copy link

commented May 14, 2017

Are there any fixes for 14E304? Shouldn't it be available in 8.3.2? Does downgrading Xcode help in any way?

@muescha

This comment has been minimized.

Copy link

commented May 22, 2017

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

see:

(disclaimer: i don't say that the links above are infected or clean. i just remember why to avoid generally direct downloads)

@muescha

This comment has been minimized.

Copy link

commented May 22, 2017

better use this solution (with direct download from Apple Developer servers):

https://stackoverflow.com/a/43696751/1930509

@iVarunPatel

This comment has been minimized.

Copy link

commented May 28, 2017

Need 10.3.2(14F89) Device support files.

@ducanh841988

This comment has been minimized.

Copy link

commented May 29, 2017

Need 10.3.2(14F89) Device support files too.

@linhbt

This comment has been minimized.

Copy link

commented Jun 1, 2017

Need 10.3.2(14F89) Device support files too
Thanks a lot!

@Shahbaz-Akram

This comment has been minimized.

Copy link

commented Jun 2, 2017

After restarting mac Working fine thanks a lot

@StanislavK

This comment has been minimized.

Copy link

commented Jun 6, 2017

For iOS 11 beta and Xcode 8.3.2 (8E2002):

  • 1.
    sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ (15A5278f)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  • 2.
    Restart your Xcode 8

PS: You must install Xcode 9 beta first.

@MattNewberry

This comment has been minimized.

Copy link

commented Jun 6, 2017

@StanislavK Have you seen this error relating to Xcode 8.3.2 after installing Beta 9?

Cannot find cdtool at '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool': Cannot find a simulator runtime for platform <DVTPlatform:0x7fb7fae1c4f0:'com.apple.platform.iphonesimulator':
<DVTFilePath:0x7fb7fae1c480:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform'>>
@mamnun

This comment has been minimized.

Copy link

commented Jun 6, 2017

I am seeing the exact same error:

Cannot find cdtool at '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool': Cannot find a simulator runtime for platform <DVTPlatform:0x7fd67af0a930:'com.apple.platform.iphonesimulator':<DVTFilePath:0x7fd67af0a7c0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform'>>.

@twobitlabs

This comment has been minimized.

Copy link

commented Jun 7, 2017

Seeing the same error running 8.3.2 after running the Xcode 9 beta. Have tried the symlink, clean, delete Derived Data, restart Xcode, all to no avail.

@mamnun

This comment has been minimized.

Copy link

commented Jun 7, 2017

@MattNewberry @twobitlabs I as able to solve it by

  • Delete Xcode
  • Delete command line tools rm -rf /Library/Developer/CommandLineTools
  • Install Xcode manually(not from app store, tried it once didn't solve it). Get it from here
  • Install command line tools manually

Some of the steps may not be necessary, but I just did these to get my xcode to work again

@friendlytoaster

This comment has been minimized.

Copy link

commented Jun 7, 2017

@mamnun I just tried doing that, and I'm still getting the error :(

@jeremiah-bouncechat

This comment has been minimized.

Copy link

commented Jun 7, 2017

I too am getting the same error after installing Xcode 9 beta. I've tried deleting both Xcodes, installing from the App Store, and installing manually. The symlink method also does not help.

@bengottlieb

This comment has been minimized.

Copy link

commented Jun 8, 2017

I followed the steps above and was unable to resolve the problem. Finally, I deleted Xcode 8.3.2 and the beta, then removed /Library/Developer, and re-installed 8.3.2 using the link provided by @mamnun above. This seemed to do the trick. I think that maybe only the CoreSimulator directory of /Library/Developer needed to be removed. I'm back up and running now.

@ropims

This comment has been minimized.

Copy link

commented Jun 8, 2017

@friendlytoaster Have you succeed to fix this issue (Cannot find cdtool ...)? I've followed mamnum step but still getting same error :(

@mbuchetics

This comment has been minimized.

Copy link

commented Jun 8, 2017

Had the same problem with cdtool and got it to work by deleting Xcode, then deleting /Library/Developer, also deleting ~/Library/Developer/CoreSimulator (and stopping the CoreSimulatorService, just to be sure). Then I re-installed Xcode 8.3.3 (direct download) and it works. Thanks for the help guys, this was driving me crazy today.

@twobitlabs

This comment has been minimized.

Copy link

commented Jun 9, 2017

These steps resolved the problem for me as well:
rm -fr /Applications/Xcode.app
rm -fr /Library/Developer
rm -fr ~/Library/Developer/CoreSimulator
Re-install Xcode 8.

Xcode 9 crashes on startup now (UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for parameter key 'name' of extension 'Xcode.InterfaceBuilderKit.AppleTVIntegration.Singletons' in plug-in 'com.apple.dt.IDE.IDEInterfaceBuilderAppleTVIntegration'). I imagine re-installing it will resolve that but also make this problem return.

@ropims

This comment has been minimized.

Copy link

commented Jun 9, 2017

Thank you @twobitlabs! I've followed you steps and succeed to run Xcode 8. I've removed Xcode 9 for now. Too much trouble....

@mbuchetics

This comment has been minimized.

Copy link

commented Jun 9, 2017

I also can't get the Xcode 9 beta to work again after doing all these steps. Re-installing does not help. Have any of you fixed that as well?

@brendan09

This comment has been minimized.

Copy link

commented Jun 9, 2017

• Removed Xcode 9
• Followed @twobitlabs steps
• Stopped core simulator service
• Reinstalled Xcode 8 from the Mac App Store

And I was able to use Xcode 8 again without encountering the error.

@mbuchetics

This comment has been minimized.

Copy link

commented Jun 9, 2017

Anyone able to get Xcode 9 to run again? I deleted the /Library/Developer folder but now Xcode 9 can't find the CoreSimulator.framework in Library/Developer/PrivateFrameworks anymore. Re-installing doesn't help, the /Library/Developer folder stays empty. How did the framework get there in the first place? I uninstalled all Xcode versions and re-installed them but to no avail.

@jhowlin

This comment has been minimized.

Copy link

commented Jun 10, 2017

Same problem. After running Xcode 9 for a bit, project fails to compile under Xcode 8. Can anyone explain what the actual problem is here? I suspect Xcode 9 modified some shared state with Xcode 8 (set a path, overwrote a file, etc.). But I've tried deleting and reinstalling to no avail.

@jeremyhu

This comment has been minimized.

Copy link

commented Jun 10, 2017

Those of you with cdtool errors in Xcode 8, I suspect you installed the iOS 10.3 Simulator runtime from Xcode 9. It was discovered this week that this causes a problem with cdtool in Xcode 8.3. You can work around that by moving iOS 10.3.simruntime aside and restarting CoreSimulatorService:

sudo mkdir /Library/Developer/CoreSimulator/Profiles/Runtimes/Backup
sudo mv /Library/Developer/CoreSimulator/Profiles/Runtimes/{,Backup/}iOS 10.3.simruntime
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
Then restart Xcode, Simulator, etc.

Those of you that deleted CoreSimulator.framework and thus cannot run Xcode.app any more can reinstall CoreSimulator.framework with:

installer -pkg /Applications/Xcode-beta.app/Contents/Resources/Packages/XcodeSystemResources.pkg -target /
@mbuchetics

This comment has been minimized.

Copy link

commented Jun 10, 2017

awesome, thanks @jeremyhu!

@jhowlin

This comment has been minimized.

Copy link

commented Jun 11, 2017

@jeremyhu That works, thanks! Excellent job on Xcode 9!

@StanislavK

This comment has been minimized.

Copy link

commented Jun 11, 2017

@MattNewberry Hm, works fine for me (even now with new version 8.3.3 (8E3004b)).
Please see note from @jeremyhu.

@NayakSaurabh

This comment has been minimized.

Copy link

commented Jun 14, 2017

Application was perfectly fit and running on simulator when I had sdk 8.3 and deployment target was 8.3. I was using xcode 6.3

I have updated with XCode 8.3.2, so using IOS SDK 10.3 and deployment target I have tried 8.3, 9.0, 9.3, 10.0, 10.3. When I run the application on simulator it is not fit correctly on view. There is a right side space, it looks like not align properly in right margin.

Can anyone have solution for this?

@MattHofmann

This comment has been minimized.

Copy link

commented Jun 15, 2017

@jeremyhu Thank you!

@civilordergone

This comment has been minimized.

Copy link

commented Jun 17, 2017

Need img for iOS 10.3.2

@animeshp

This comment has been minimized.

Copy link

commented Jun 20, 2017

Thank you very much @jeremyhu!

@Izakc

This comment has been minimized.

Copy link

commented Jul 6, 2017

Need img for iOS 10.3.2

@gewill

This comment has been minimized.

Copy link

commented Jul 9, 2017

For Xcode 9 beta 2:
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5304f\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@nicnilov

This comment has been minimized.

Copy link

commented Jul 14, 2017

XCode 8.2.1, iOS 10.3.2 (14F89)

Took @mendaparadarshit's file, placed the 10.3 (14E269) directory inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and renamed it to 10.3 (14F89).

Restarted XCode, reconnected the device, was able to run on device. Thanks @mendaparadarshit!

@doctormobius

This comment has been minimized.

Copy link

commented Jul 22, 2017

I've just done the same renaming trick as @nicnilov above, using the same Xcode 8.2.1 and iOS 10.3.2 (14F89).

I can complete the Build process successfully now... thanks @mendaparadarshit

@danielgalasko

This comment has been minimized.

Copy link

commented Aug 1, 2017

For Xcode 9 beta 4

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5327g\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@hujunfeng

This comment has been minimized.

Copy link

commented Aug 9, 2017

Xcode 9 beta 5

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5341e\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
@jasonkhochora

This comment has been minimized.

Copy link

commented Aug 9, 2017

This worked perfect. I have a late 09 Mini and a 5S, and i followed the steps made sure to reboot both devices just to be safe and it went smooth like butter, Thanks very much from a broke ninja. +1

@Legoless

This comment has been minimized.

Copy link

commented Aug 21, 2017

For Xcode Beta 6:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5361a\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
@StanislavK

This comment has been minimized.

Copy link

commented Sep 19, 2017

ln -s /Applications/Xcode9GM.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A372\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  • where Xcode9GM is your renamed GM version of Xcode9 (build 9A235), i.e. put your name there

PS: Use wisely

@dharmeshrchauhan

This comment has been minimized.

Copy link

commented Sep 22, 2017

Wonderful trick...
I am able to use IOS 10.3 device from Xcode 8.1 with following command:

ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\ (14E269)/ /XCodes/XCode8.1/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
MacBook-Pro:~ dharmesh$ ls /XCodes/XCode8.1/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@drunknbass

This comment has been minimized.

Copy link

commented Oct 16, 2017

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.1\ (15B5078b) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

@Bubcho

This comment has been minimized.

Copy link

commented Oct 18, 2017

Hey guys,
Does anybody know where can I get iOS Simulator runtime 10.3.3 from? I have the latest Xcode 9.0.1, but it lacks a 10.3.3 simulator and the latest I can download from the Components tab of Xcode's Preferences is 10.3.1. I'm in need of a 10.3.3 simulator because my client has a bug that occurs only on iPhone 7 with iOS 10.3.3. Any help would be much appreciated!

@drunknbass

This comment has been minimized.

Copy link

commented Nov 12, 2017

ln -s "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.2 (15C5097c)" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/"

@steipete

This comment has been minimized.

Copy link
Owner Author

commented Feb 2, 2018

Still works with Xcode 9.3b1 :)

@GeneralUSA

This comment has been minimized.

Copy link

commented Feb 13, 2018

You guys are amazing! Thank you soooooo very much. I new that I new that I did not want to update my phone to 10.3, but it kept pestering me and the day I needed it in Xcode 8.2 was the day I updated and bam, my new beginnings journey to mobile dev slowed. Thanks guys, and very special thanks to @mendaparadarshit. Your posting at http://betamode.de/2017/07/10/how-to-develop-ios-10-3-x-apps-in-xcode-8-2-x/ was found after a recommended google search. Thanks Mendaparadarshit.

@steipete

This comment has been minimized.

Copy link
Owner Author

commented Feb 17, 2018

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.3\ \(15E5178d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Still works for Xcode 9.2 to deploy iOS 11.3 beta! :)

@melwaraki

This comment has been minimized.

Copy link

commented Feb 21, 2018

Is there a directory online that contains zips of iOS supporting files? It'd just be a lot easier to download the zip and add it to the DeviceSupport folder in Xcode rather than downloading Xcode beta every time there's an update.

@drunknbass

This comment has been minimized.

Copy link

commented Mar 12, 2018

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.3\ (15E5201e) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@aarona-wm

This comment has been minimized.

Copy link

commented May 7, 2018

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.4\ (15F5061c) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

@stevemoser

This comment has been minimized.

Copy link

commented Jun 20, 2018

What are the new paths for Xcode 10?

@mluisbrown

This comment has been minimized.

Copy link

commented Jun 21, 2018

For iOS 12 beta 2 / Xcode 10 beta 2:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5308d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@ben-britten

This comment has been minimized.

Copy link

commented Jul 3, 2018

For iOS 12 beta 3 / Xcode 10 beta 3:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5318d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@Legoless

This comment has been minimized.

Copy link

commented Jul 17, 2018

For iOS 12 beta 4 / Xcode 10 beta 4:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5327d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@mluisbrown

This comment has been minimized.

Copy link

commented Jul 30, 2018

For iOS 12 beta 5 / Xcode 10 beta 5:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5339e\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@Legoless

This comment has been minimized.

Copy link

commented Aug 13, 2018

iOS 12 beta 7 / Xcode 10 beta 6:

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5354b\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
@navdeepmahajan

This comment has been minimized.

Copy link

commented Aug 14, 2018

In case you don't have access to /Applications directory then the below article details the steps to make it work:
https://navdeepmahajantechblogs.blogspot.com/2018/08/debug-on-ios-12-device-using-xcode-9.html

@sauravexodus

This comment has been minimized.

Copy link

commented Sep 28, 2018

In case someone doesn't want to download the entire Xcode 10 and still want to run on iOS 12.

https://github.com/sauravexodus/xcode-9-ios-12-support

@hansheung

This comment has been minimized.

Copy link

commented Dec 26, 2018

Why it is not working, please help.

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
JASONs-MacBook-Pro:DeviceSupport jasonooi$ ls
10.0 11.0 11.4 8.2 9.1
10.1 11.1 12.0 (16A366) 8.3 9.2
10.2 11.2 8.0 8.4 9.3
10.3 11.3 8.1 9.0

mv: rename /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0 (16A366) to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.1: Permission denied

@drunknbass

This comment has been minimized.

Copy link

commented Jan 16, 2019

Download Xcode, rename and place in /Applications alongside the one you use, and symlink the support files.. eg

sudo ln -s "/Applications/Xcode10_1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.1 (16B91)" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/DeviceSupport/12.1 (16B91)"

@hintoz

This comment has been minimized.

Copy link

commented Jan 25, 2019

@peterolle

This comment has been minimized.

Copy link

commented Mar 21, 2019

I am getting:

This iPhone XS is running iOS 12.2 (16E5227a), which may not be supported by this version of Xcode.

Xcode: Version 10.1 (10B61)
iOS: 12.2 beta 6

Can anyone share how to make it work?

@recre4te

This comment has been minimized.

Copy link

commented Mar 21, 2019

This iPad Air 2 is running iOS 12.2 (16E5227a), which may not be supported by this version of Xcode.

I also get this error just for ipad

@lfalcao

This comment has been minimized.

Copy link

commented Mar 27, 2019

@peterolle @recre4te your device is running a version that is not supported by the xcode version. This version (16E5227a) {must be} supported by the latest xcode version (10.2) or you can wait and download device support it from here: https://github.com/iGhibli/iOS-DeviceSupport

@jneuendorf

This comment has been minimized.

Copy link

commented Apr 9, 2019

@lfalcao Thanks for the hint! I needed 16E227 but iGhibli/iOS-DeviceSupport#40 (comment) worked for me.

@Meghs2512

This comment has been minimized.

Copy link

commented Apr 23, 2019

My iPhone XR has iOS 12.2 and have Xcode version 10.1 (10B61), so its not supporting iOS while running the app on device..

Can anyone help me out with this issue please?

@ifin2000

This comment has been minimized.

Copy link

commented May 7, 2019

thanks @iFalcao, it's worked for me with 16E227

@steipete

This comment has been minimized.

Copy link
Owner Author

commented Jun 4, 2019

Looks like Xcode 11 changes the game here, this no longer works.

@macshodan

This comment has been minimized.

Copy link

commented Jun 11, 2019

Looks like Xcode 11 changes the game here, this no longer works.

Worked for me, but I had to attach the iPhone with cable on my Mac before opening Xcode. After opened Xcode I saw the message "preparing debugger support for iPhone..." when it finished it worked like a charm!

@stdio137

This comment has been minimized.

Copy link

commented Jun 27, 2019

I have iOS 13 Beta version on iPhone 6s and iPhone XS and added disk image of iOS 13, tried on XCode 10.1 and 10.2 both but got an error
"An error was encountered while enabling development on this device." "Please try rebooting and reconnecting the device. (0xE8000076)"
Can Anyone help

error

![image](https://user-images.githubusercontent.com/34416170/60261842-59de4500-98cc-11e9-9708-8a0c2a4928df.png)
@dammyson

This comment has been minimized.

Copy link

commented Jul 25, 2019

I have Xcode 10.1 and I can not run my application on my device with 12.2 iOS version.

The easiest solution for me was:

  • Go to with finder at Xcode location
    Right Click -> Show Package Contents
    Contents -> Developer -> Platforms -> iPhoneOS.platform ->
    DeviceSupport Here you find a list of supported version.
    Choose the most recent one Paste in the same folder(DeviceSupport) and call it
    with the version you need.
    Close Xcode if you have it open Reconnect
    device if it was connected Open Xcode and build
@hacknicity

This comment has been minimized.

Copy link

commented Jul 25, 2019

Looks like Xcode 11 changes the game here, this no longer works.

I just got it to work with Xcode 10.3! I.e. I can build on Xcode 10.3 and install on a real device running iOS 13 beta 4.

Villanelle:DeviceSupport geoff$ pwd
/Applications/Xcode10.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Villanelle:DeviceSupport geoff$ ls -l 13.0
lrwxr-xr-x  1 geoff  staff  93 25 Jul 11:32 13.0 -> /Applications/Xcode11b4.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0

EDIT: on further experimentation, it looks like maybe I just reproduced @macshodan's result (https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d#gistcomment-2940370) and Xcode 10.3 isn't at all relevant.

I went back to Xcode 10.2.1 and confirmed I could NOT run on my iOS 13 device:

10 2 1 before

I did the sym link trick, quite Xcode & simulators, disconnected and re-attached my iPad running iOS 13 and relaunched Xcode 10.2.1. It now works:

10 2 1 after

Maybe I managed to accidentally flip a switch in Xcode by using Xcode 10.3 but it looks like it's just an issue of the order you do things and good old turn-it-off-and-on-again by killing Xcode and reattaching the device.

Note also that I always connect my devices with a Lightning cable. I don't think I've ever turned on the WiFi debugging.

@helloniklas

This comment has been minimized.

Copy link

commented Aug 5, 2019

And for watchOS 6 it'll be

sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport/6.0 /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport
@adamkhazi

This comment has been minimized.

Copy link

commented Aug 8, 2019

Is this working with Xcode 10.2.1 and Xcode 11 Beta 5? Does not work when I tried either with symlink or copying the 13.0 folder over.

@helloniklas

This comment has been minimized.

Copy link

commented Aug 8, 2019

@adamkhazi update to Xcode 10.3 Works fine with that at least.

@hanguyen221

This comment has been minimized.

Copy link

commented Aug 29, 2019

Hi guys, this way does not work anymore when I update to iOS 13.1 beta. Anyone got the same issue and figured out the solution yet? I'm keen to know.

@macshodan

This comment has been minimized.

Copy link

commented Aug 29, 2019

Hi guys, this way does not work anymore when I update to iOS 13.1 beta. Anyone got the same issue and figured out the solution yet? I'm keen to know.

Actually it's pretty easy 😉. You just need to create another link to the same Xcode-beta device support directory, manually calling it 13.1.
Go in terminal, and navigate to /Applications/Xcode/Contents/Developer/Platform/iPhoneOS.platform/DeviceSupport and then type
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0/ ./13.1

Next time you'll open Xcode you'll be able to deploy to iOS 13.1 from Xcode 10 too.

@hanguyen221

This comment has been minimized.

Copy link

commented Aug 29, 2019

Hi guys, this way does not work anymore when I update to iOS 13.1 beta. Anyone got the same issue and figured out the solution yet? I'm keen to know.

Actually it's pretty easy 😉. You just need to create another link to the same Xcode-beta device support directory, manually calling it 13.1.
Go in terminal, and navigate to /Applications/Xcode/Contents/Developer/Platform/iPhoneOS.platform/DeviceSupport and then type
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0/ ./13.1

Next time you'll open Xcode you'll be able to deploy to iOS 13.1 from Xcode 10 too.

Great !! That worked for me. Thanks a lot !

@helloniklas

This comment has been minimized.

Copy link

commented Aug 29, 2019

For some reason this does not work for me. I still get the "This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 13.1 (17A5821e), which may not be supported by this version of Xcode"

@hacknicity

This comment has been minimized.

Copy link

commented Aug 29, 2019

Works for me. I have my iPad connected with a cable. I also quit and restarted Xcode 10.3 after creating the symbolic link. Here's how my 10.3 Device Support folder looks (omitting other iOS versions):

Villanelle:DeviceSupport geoff$ pwd
/Applications/Xcode10.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Villanelle:DeviceSupport geoff$ ls -l | grep 13
lrwxr-xr-x  1 geoff  staff   94 29 Aug 11:44 13.0 -> /Applications/Xcode11b7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0/
lrwxr-xr-x  1 geoff  staff    4 29 Aug 11:46 13.1 -> 13.0

Note that I'm creating the 13.1 entry in the DeviceSupport directory for Xcode 10.3, not in Xcode 11. Xcode 10.3's 13.1 is a link to 13.0 which is a link to Xcode 11 beta 7's 13.0.

@helloniklas

This comment has been minimized.

Copy link

commented Aug 29, 2019

Ok, removed all links and did it all again, now works. Thanks

@mfkrause

This comment has been minimized.

Copy link

commented Sep 22, 2019

Thanks, this works with the release Xcode 11 as well. Re-downloaded Xcode 10 from the Developer Portal, renamed it to Xcode10.app and moved it into Applications. Then simply adjust the symlink accordingly obviously (replace Xcode-beta with Xcode, Xcode with Xcode10).

Saved my day.

@pavel-zdenek

This comment has been minimized.

Copy link

commented Oct 2, 2019

Doesn't seem to work with the latest Xcode 11.1 and iOS 13.1.2. I tried to symlink only 13.0 and then locally 13.1 but also symlink both. Xcode 10.2 keeps saying either "No device connected to MacOS" or "Device not ready for development" - the later helpfully confirms the device, can show syslog and screenshots, but no deployment. Thankfully what i needed in the end is not keep using Xc10 but compile with Swift 5.0 while deploying to iOS 13.1.2, so a reverse magic helped: i use Xc11 but symlink XcodeDefault.toolchain from Xc10. Just telling to Xc11 that i want Xc10 toolchain didn't help, Xc11 insists on using its own - therefore Swift 5.1 which i can't use due to 3rd party framework precompiled with Swift 5.0.

@bismark-jp

This comment has been minimized.

Copy link

commented Oct 4, 2019

Xcode 10.3 works with iOS 13.1.2 by changing name of symlink to 13.1 (17A860)

@warpdesign

This comment has been minimized.

Copy link

commented Oct 11, 2019

Xcode 10.3 works with iOS 13.1.2 by changing name of symlink to 13.1 (17A860)

What exact command did you type? It's not working for me :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.