user3207650
user3207650

Reputation: 55

Run iOS Apps on iPhone with iOS 8 through XCode

My iphone is currently running ios 8. When I try to run apps through XCode on my phone I get this error message:

Xcode cannot run using the selected device.

No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.

In XCode under deployment target, there is no option for 8.0 (iOS 8) and the app will not run on my phone.

Is there an SDK I need to download for xcode?

Any help is greatly appreciated.

Upvotes: 0

Views: 3589

Answers (3)

Milo
Milo

Reputation: 5091

The way I got it to work was:

  1. close all instances of Xcode.
  2. open the Xcode 6-Beta
  3. open Xcode 5 so both Xcode's are running at the same time
  4. close Xcode 6-Beta, and after doing that, Xcode 5 will recognize your device as a capable one and you'll be able to deploy to your iOS 8 phone.

The reason you need Xcode 5 is because you won't be able to submit iOS 7 apps to the app store from Xcode 6, it'll give you an error so you need to use Xcode 5.

Upvotes: 1

Undo
Undo

Reputation: 25687

Xcode 5 knows nothing of the existence of iOS 8. You're going to need to get Xcode 6 from this page (direct link) if you want to run apps on your iOS 8 device.

Note that the direct link is only good for the version of Xcode 6 shipped alongside iOS 8 Beta 2. I have no idea what it will do when we get to Beta 3.

Upvotes: 1

Crake
Crake

Reputation: 1679

You need to download Xcode 6, which includes the iOS 8 SDK. You would download this from the Apple developer site, where you downloaded the iOS 8 Beta image from.

https://developer.apple.com/devcenter/ios/index.action

Upvotes: 2

Related Questions