AMIT
AMIT

Reputation: 924

Updating a device to iOS 11.2 breaks support with Xcode 9.1

I tried to run my app on a device running iOS 11.2 and received the following error:

Could not locate device supported files.

This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.2 (15C114), which may not be supported by this version of Xcode.

I have used iphone 5s(version 11.1.2) and I want to build my project from xcode 9.1(ios 11.1).

Upvotes: 18

Views: 13258

Answers (6)

Niranjan Singh Patel
Niranjan Singh Patel

Reputation: 365

Any one having this kind of Error when your device OS version is updated and Your Xcode version is not.

enter image description here

Xcode - Version 9.1 (9B55) Device Version - 11.3

Solution:

Find your friends who have latest Xcode 9.x

From following ways you can get device support files

  1. Go to Finder and Search

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

  1. Right click on Xcode -> Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.X Copy the 11.X

Please note X - will be Versions

Also you can download from this link - https://github.com/filsv/iPhoneOSDeviceSupport/issues/7

After you get device supporting files, Add all the new version to yours Xcode DeviceSupport folder

Restart the Xcode and You are Ready to debug :)

Upvotes: 0

Dhaval H. Nena
Dhaval H. Nena

Reputation: 4130

Get the device support file from here if latest available Device Support File

Upvotes: 0

Joshua Dance
Joshua Dance

Reputation: 10472

For the rookies like me, if you get a message similar to this:

"This iPhone 6 is running iOS 11.2.X, which may not be supported by this version of Xcode."

It means you have to update Xcode.

I hit this problem when my phone was running 11.2.6 and I was running Xcode Version 9.0

You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip

Upvotes: 0

Allister Smith
Allister Smith

Reputation: 71

I have Xcode9.2 on my MacBook and 8 on my MacMini. So I just copied the 11.2 DeviceSupport DeveloperDiskImage .dmg and .signature from the MacBook to the MacMini. Worked fine.

Upvotes: 1

Michael Hulet
Michael Hulet

Reputation: 3499

It seems that Apple released iOS 11.2 to the public without releasing Xcode 9.2 yet (the Mac App Store reports 9.1 as latest at the time of this writing), which includes the iOS 11.2 SDK necessary to target devices running iOS 11.2. You should be able to run this on your device with the Xcode 9.2 beta, which you can download from the developer download page if you have a developer account

EDIT: Xcode 9.2 is publicly available now, and you can download it from the Mac App Store

Upvotes: 17

Can Poyrazoğlu
Can Poyrazoğlu

Reputation: 34780

Xcode 9.2 has finally been released. You can update it from App Store or just download it here: https://download.developer.apple.com/Developer_Tools/Xcode_9.2/Xcode_9.2.xip

Upvotes: 2

Related Questions