15

Xcode updated to the latest version 10.2 recently and so did the iOS to 12.3.1. My Mac is an older mac that's working on High Sierra and I cannot update to Mojave. I have Xcode 10.1. How do I add the supporting files and where can I find them? Any help would be appriciated. Thank you

I have tried copying the files from a folder with 12.2 and restarting Xcode but to no luck

captain_haddock
  • 496
  • 1
  • 3
  • 12
  • Did not find a workaround. My mac is now a dawg creeping under the mojave POS, as are my test devices. Way to go apple, planned obsolescence is now multi-platform. – YvesLeBorg Jun 03 '19 at 10:26
  • I totally get you @YvesLeBorg... I posted an answer below, I use an old 2009 unibody white mac, Not giving up yet :) – captain_haddock Jun 03 '19 at 10:30
  • 1
    also, just for kicks : I use eXcode to play certificates, for everything else there is AppCode (Jetbrains) – YvesLeBorg Jun 03 '19 at 10:33
  • I was recommended AppCode too, I was wondering if its Storyboard feature would be good as I'm a noob and rely a lot on Storyboards. Can you also run the code on a device with AppCode @YvesLeBorg. Thanks for the response bud – captain_haddock Jun 03 '19 at 11:17
  • No, AppCode does not. However, you can open your projects/workspaces with both without fail (so you could use eXcode to do that too ... but it sucks hard imnsho, compared to say ... Android Studio, also a Jetbrains product). I find it much easier to layout by code strictly. I got truckloads of reusable code/patterns by now. – YvesLeBorg Jun 03 '19 at 12:02
  • 1
    @YvesLeBorg: just wanted to say thank you for the input and direction. Happy Coding :) – captain_haddock Jun 18 '19 at 16:19

4 Answers4

23

So after many findings and following links, I have found a solution for anyone struggling out there. Steps as follows

  1. Shut down Xcode.. I mean to quit it
  2. Go to this link and download this file
  3. create a folder named 12.3 (16F203) and copy the extracted two files... take note, this includes a "DeveloperDiskImage.dmg.signature" and "DeveloperDiskImage.dmg" (I found that these files eventually work fine as opposed to copying other files from previous folders... might be the dmg files)
  4. run the following command on your terminal window... please note, adjust the file path according to your installation of Xcode. "ln -s /Users/damn_son/Library/Developer/Xcode/iOS DeviceSupport/12.3\ (16F203) /Users/damn_son/Library/Developer/Xcode/iOS\ \DeviceSupport\"
  5. I found that step number 4 links the file as mentioned in this thread. it did the trick
  6. re-start Xcode and try compiling and running again. good luck
captain_haddock
  • 496
  • 1
  • 3
  • 12
  • 4
    Instead of creating a link, you might just copy the directory into "Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport" as described here: https://stackoverflow.com/questions/55596733/is-it-possible-to-install-xcode-10-2-on-high-sierra-10-13-6 – Pablo Alfonso Jun 19 '19 at 23:15
  • Thank you so much captain_haddock. You saved my day. It works. But pls change your command it's showing error. I have changed little bit and it works. – Karnan Muthukumar Jun 24 '19 at 11:22
  • @KarnanMuthukumar: I purposely added the words"damn_son" to mask my real hard disk name as its my name :)... so where it says "damn_son" insert your home drive name. thank you for the comliment – captain_haddock Jul 01 '19 at 15:20
  • command gives error even after changing to real hard disk name, error is `syntax error near unexpected token '(' ` – Muhammad Awais Aug 01 '19 at 08:04
12

FolderName is important, check spacing also

1.create file with name 12.3.1 (16F203)

2.copy the contents(from https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip)

3.paste the folder in the DeviceSupport folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and copy-paste the contents.

4.quit the xcode and relaunch.

Prasad.Jakka
  • 159
  • 2
  • 8
3
  1. Download Xcode 10.2 from a direct link (not from App Store). (Estimated Size: ~6Gb): https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_10.2/Xcode_10.2.xip

  2. From the downloaded version just copy/paste the content of directory DeviceSupport/12.2 directory into "Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.3 (16F203)"

  3. You can discard the downloaded version now (we just need the small 12.2 directory!)

Pablo Alfonso
  • 2,317
  • 1
  • 18
  • 24
3

1.create file with name 12.3.1 (16F203)

2.copy the contents(from https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip)

3.paste the folder in the DeviceSupport folder /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and copy-paste the contents.

4.quit the Xcode and relaunch.

to goto, Xcode documents folder right click on Xcode and click on "Show package content" then go to the path as per step number 3.

NickCoder
  • 1,504
  • 2
  • 23
  • 35
Abhishek B
  • 157
  • 8