46

This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS 12.0 (16A5308e), which may not be supported by this version of Xcode. (Version 9.4.1 (9F2000))

  • can anyone help with iOS 12.x device support files from Xcode 10 beta?
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Yatko
  • 8,715
  • 9
  • 40
  • 46
  • See this for help: https://stackoverflow.com/questions/53815085/could-not-locate-device-support-files-ios/53815843?noredirect=1#comment99566203_53815843 – Hitesh Surani Jun 19 '19 at 05:36

5 Answers5

73

iOS 12 is only supported by the beta of Xcode 10 or higher.

If you want to use your iPhone 8 with this iOS version (NOT RECOMMENDED) with your Xcode 9.4 you can try to download the last beta of Xcode 10 and after connecting the iPhone to the mac go to this folder:

/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

You can see the iOS version folder of the iPhone, copy and past it to the same location in your Xcode 9.4 folder.

After this you should be able to deploy to your iPhone 8.

Kerberos
  • 4,036
  • 3
  • 36
  • 55
  • 1
    I'm struggling with adding iOS 12 DeviceSupport to Xcode 9.3. The xcode itself is not recognizing it even after restart. Do you have any idea? Thanks – Deyan Vitanov Sep 19 '18 at 15:26
  • Can you check again the iOS version of the folder copied and the path where you copy? Are you sure you made the copy after the iPhone was recognized? – Kerberos Sep 19 '18 at 15:38
  • Yes. The copy was made after the iPhone was recognized. Should I see in Build Settings -> Base SDK -> Latest iOS (iOS 12.0) ? It still shows 11.3 – Deyan Vitanov Sep 19 '18 at 16:34
  • 1
    UPDATE: It worked! Fixing my signing certificates made it run on the iPad although the Xcode did not show 12.0 in Base SDK – Deyan Vitanov Sep 19 '18 at 16:40
  • Great, it works for me! I have Xcode 9.4 and iPhone 5S with iOS 12.0 updated. Here are steps I did: 1) Download Xcode_10.1_Beta_2.xip file from Apple; 2) extract the package; 3) Don't run Xcode 10 beta. I had trouble to link to all dependent frameworks, and it massed up Xcode 9.4 projects as well; 4) follow the above link to copy supported 12 folders from Xcode 10. beta to Xcode 9.4. Restart Xcode and I can run my product from Xcode 9.4 on my iPhone 5s device. – David.Chu.ca Oct 07 '18 at 20:18
49

As answered by @Kerberos you can copy the iOS 12 device support files to:

/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

https://github.com/Yatko/iOS-device-support-files

Yatko
  • 8,715
  • 9
  • 40
  • 46
11

The link provided by Yatko is not supporting the newest iOS 12 versions (public release).

This repository has more iOS versions to offer: https://github.com/iGhibli/iOS-DeviceSupport

Copy the files to the same path as described by Kerberos.

Kansway
  • 160
  • 2
  • 9
11

Another convenient way to achieve this without downloading Xcode 10.

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

Note: If you have multiple Xcode versions then be careful with the path written in install.sh file.

Sourav Chandra
  • 843
  • 12
  • 21
2

Just download latest OS SDK (iOS 12.2) and paste it on respective location.

Downloadable URL:

13.2

13.1

13.0

12.4

12.3

12.2 (16E226)

12.1

12.0 (16A5288q)

11.4 (15F5037c)

11.3 (15E5189d)

11.2

11.1

11.0 (15A372)

10.3 (14E5239d)

10.2 (14C89)

10.1

10.0 (14A5339a)

Follow below step.

1) Unzipped downloaded file

2) Right click on Xcode and click on Show Package Content

3) Then paste your file on path

Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport

4) Restart Xcode

enter image description here

Is it very convenient, saving the trouble of updating Xcode. what? You can't find a new Device Support file! Ok, you can copy it out from your friend's latest Xcode, or download from here

Update:

The added iOS Disk image for iOS 13.0, 12.3 and iOS 12.4

Hitesh Surani
  • 12,733
  • 6
  • 54
  • 65