Berat Cevik
Berat Cevik

Reputation: 1958

Xcode App Running Issue

I just updated my iPhone 5 to iOS version 10.1. When I tried to run the app that I'm developing on my device I got the following error from Xcode:

"Could not locate device support files. This iPhone 5 (Model A1429) is running iOS 10.1 (14B72), which may not be supported by this version of Xcode."

I have the latest version of Xcode i.e. 8.0 (I just double checked to see if there are any available updates). I cannot set the deployment target higher than 10.0 either.

What do I need to do? Is there a way to downgrade my device? When there is an update in the future should I wait until the version is released on Xcode?

Upvotes: 33

Views: 10648

Answers (4)

Olivier de Jonge
Olivier de Jonge

Reputation: 1504

Updates between iOS and macOS are independent though if you are developer they are not because iOS and Xcode have to match. In my case my iOS upgraded automatically but my Xcode did not, and could not, because I had postponed the upgrade of my macOS (laziness). After I upgraded my macOS my Xcode could also upgrade to the right version suitable for the iOS version on my iPad and everything worked fine again.

Upvotes: 1

Ali Omari
Ali Omari

Reputation: 371

Actually your iOS version still fresh and xCode SDK still in beta

you can download the beta SDK's from here xCode 10.1 beta SDK download

UPDATE: Now apple have updated Xcode to 8.1 which include the SDK for 10.1, and you can download it from app store.

Upvotes: 16

Juri Noga
Juri Noga

Reputation: 4391

Xcode 8.1 is now available

Download link.

Note from Apple News:

You can now download Xcode 8.1 from the Mac App Store. This version includes the latest macOS SDKs for building apps that use the all-new Touch Bar on the new MacBook Pro. To develop apps for the Touch Bar, you’ll need a Mac running Xcode 8.1 on macOS Sierra 10.12.1 (12B2657) or later.

Upvotes: 4

XFactor
XFactor

Reputation: 93

There is an option in order to do not download full xcode, you need to download files from this topic (in Update comment)

Then you need to copy 10.1 (14B65) folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

so the full path will look like:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.1 (14B65) with two files in it: DeveloperDiskImage.dmg.signature and DeveloperDiskImage.dmg

It worked fine for me.

Upvotes: 2

Related Questions