Tutorial :The version of iPhone OS on “” does not match any of the versions of iPhone OS supported for development with this copy of Xcode



Question:

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?


Solution:1

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.


Solution:2

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   


Solution:3

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.


Solution:4

Look in the organizer window if the phone is in orange state ..then just restart the phone and see.


Solution:5

How To:

Add an iOS SDK from a downloaded Xcode dmg:

  1. Download the Xcode version dmg containing the iOS SDK you need
  2. Make sure Xcode is not running
  3. Double click the downloaded Xcode dmg, right click the Xcode.app icon, choose "Show Package Content"
  4. Copy Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs (on you local machine)
  5. Copy Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ to /Developer/Platforms/iPhoneSimulator.platform/Developer (on you local machine)
  6. Copy Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ to /Developer/Platforms/iPhoneOS.platform/DeviceSupport (on you local machine)
  7. Right click Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/, choose "Make Alias", rename the alias to "Latest"
  8. Start Xcode


Solution:6

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


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »