views:

3638

answers:

8

Hello experts!

I have followed Apples tutorial and upgraded my iphone to 3.0. But i get this error:

OS Installed on 3.0 (7A341)

Xcode Supported iPhone OS Versions 3.0 (7A312g) 2.2.1

And when i try to run an application on my iphone xcode states: No provisioned iPhone OS device is connected.

What have I missed?

+6  A: 

It looks like you need to upgrade xcode to the newest version of the SDK as well as your iPhone / iPod Touch to the newest version of the SDK. It looks like your XCode is from beta 5 where your iPhone is GM.

Heat Miser
+1  A: 

Both XCode and the iPhone OS need to be the most recent version to install apps. In addition, you will need to reenable the iPhone for development after every software upgrade in the XCode device manager.

Dan Lorenc
+11  A: 

Stumbled across this question because I've had the same problem with 3.0.1. Apple has an advisory (PDF) about how to get XCode to stop worrying and love the 3.0.1. It boils down to running a command in Terminal:

ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1
pluckyglen
this is a good tip that can be applied to other versions, too (as long as you're not making use of the changes between different library versions)
Elliot
+2  A: 

Look in the organizer window if the phone is in orange state ..then just restart the phone and see. Happens to me too once in a while.

Surya
A: 

thanks Surya!!! That worked.

Brian
A: 

I have solved this as Pluckyglen said, but will add that this is a way to cheat XCode about the version of the Device. Creating a unix Symbolic link:
ln -s <´Xcode version´> <´Device Version´>
makes Xcode think that the device version is a supported version, cause we are making the dev version just a link to one of the supported versions. At least this is what I understood :P

Fede Mika
A: 

note: Tested this with building on and iPad 3.2.1 with sdk 3.2. Yes it installs. No it doesn't really work, as far as I can tell. I get a bunch of warnings, but my working app does not load it's view. There's a note on the apple dev site that users whom have upgraded to 3.2.1 or 4.0.1 need to download the new xcode with 4.0.1 sdk.

Jonathan
A: 

I have the same and i downloaded 4.0.1 and i try to use the device. When i "Edit Project Settings" i can't change the BASE SDK to 4.0.1 only to 4.0

This is the exact build error: Error Starting Executable No provisioned iPhone OS device is connected.

Marcel Kraan