39

I was running my self-developed software on my iPhone 7 which runs iOS 12.2 when an alert had popped up:

This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 12.2 (16E5201e), which may not be supported by this version of Xcode.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Jiayu Li
  • 501
  • 1
  • 4
  • 6

7 Answers7

55

You could follow these steps:

  1. You have to download "device support files for the iOS" from here,

And if you need any other "device support files for the iOS" you could download from here,

  1. Thin unzip it,

  2. Then go to your application folder,

  3. Right-click on the Xcode-Beta.app and choose Show Package Contents,

  4. Navigate to Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport,

  5. Then paste the file you downlaod in it. Other resource.

Gerges Eid
  • 1,031
  • 12
  • 18
26

For Xcode Version 10

  1. Download 12.2 (16E226)

  2. Copy 12.2 (16E226) directory to Applications⁩ ▸ ⁨Xcode.app⁩ ▸ Show package Contents ▸ ⁨Contents⁩ ▸ ⁨Developer⁩ ▸ ⁨Platforms⁩ ▸ ⁨iPhoneOS.platform⁩ ▸ ⁨DeviceSupport⁩

  3. Quit Xcode and open again.

=> Update for iOS 12.3 step 1 -> 2 copy folder 12.2 (16E226) and rename 12.3 -> 3

Giang
  • 3,553
  • 30
  • 28
  • 4
    Right click on "Applications -> Xcode" and then select "Show package Contents" to proceed with the rest. – Neel Apr 19 '19 at 07:31
  • After doing this I got new error Couldn't create workspace arena folder '/Users/auser/Library/Developer/Xcode/DerivedData/myapp-bwkkgfbrgtgsmffxqcifyjsoehdq': Unable to write to info file ''. – user1904273 May 06 '19 at 12:57
  • Can you update the link to show that it is an immediate download and not a link to the source of the download. I was just going to see where it came from to then decide, if I knew it was dropbox I would NOT have downloaded it! – akaBase May 06 '19 at 15:18
  • You don't need to download anything, just in point 2 rename the latest folder to 12.2 restart Xcode etc. and viola! – user2332921 May 06 '19 at 18:26
  • 12.2 (16E226).zip https://drive.google.com/file/d/1JVqo3gBDytaMYN1c0SBk-CUdipb4cBTc/view?usp=sharing – Giang May 07 '19 at 14:56
7

You need Xcode 10.2 which is now available in the Mac AppStore and requires macOS 10.14.4. Direct download is not available right now.

Arie Pinto
  • 1,274
  • 1
  • 11
  • 19
snake302
  • 71
  • 3
5
git clone https://github.com/iGhibli/iOS-DeviceSupport.git
cd iOS-DeviceSupport
sudo ./deploy.py -t /Applications/Xcode.app

More detail: https://github.com/iGhibli/iOS-DeviceSupport

binhapp
  • 409
  • 5
  • 10
1

If you already have folders from recent versions like below, you can often just duplicate the most recent one and rename it to whatever version Xcode asks for.

Finder illustration

hardanger
  • 2,349
  • 1
  • 16
  • 23
0

Xcode 10.2 beta 3 (current version)

Available for download here:

https://developer.apple.com/download/

Daniel
  • 8,794
  • 4
  • 48
  • 71
0

Depending on your use case, the answer could be different.

If you want DEBUGGING (breakpoint, logging on console...) on your real device iOS 12.2, then you must have Xcode 10.2 (it's beta at this moment)

If you want to RUN your app on your device, you can use Xcode 10.1 (thought even Xcode 9 can do that). You can do that using beta distribution service like TestFlight, Fabric... Or by using Xcode, you can archiving your app, then drag & drop the .app file in your device.

qtngo
  • 1,594
  • 1
  • 11
  • 13