Chomper Stomping jQuery/JavaScript/CSS 3/HTML 5, Java/PHP/Python/ActionScript, Git, Chrome/Firefox Extensions, Wordpress/Game/iPhone App Development and other random techie tidbits I've collected

6Aug/0914

iPhone 0S 3.0.1 not supported for development with Xcode SDK 3.0

I recently updated my iPhone from iPhone OS Version 3.0 (7A341) to iPhone OS Version 3.0.1 (7A400). When I plugged it into my Mac, I was informed that:

The version of iPhone OS on "Christopher's iPhone" does not match any of the versions of iPhone OS supported for development with this copy of Xcode. Please restore the device to a version of the OS listed below. If necessary, the latest version of Xcode is available here.

Gee... Thanks... I did a little Googling and found that after a recent security update to the iPhone OS Apple, you could no longer build/install development apps on the iPhone. Apparently Apple posted an "advisory" (in PDF format for some reason) outlining a fix for this.

Here is the fix in plain text instead of PDF (why they put this in a PDF is beyond me...):

iPhone OS 3.0.1 Advisory
iPhone OS 3.0 SDK and iPhone OS 3.0.1 software release for
Mac OS X v10.5.7
To continue development with iPhone SDK 3.0 on your iPhone, iPhone 3G and
iPhone 3GS running iPhone OS 3.0.1 will need to perform the following:
1. Log into your Mac with an Admin account and launch the Terminal application
(/Applications/Utilities)
2. Copy and paste the following line into Terminal:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1
Note: If you installed iPhone SDK 3.0 somewhere other than the default /Developer
location, replace the "/Developer" directory as appropriate.
© 2009 Apple Inc. All rights reserved. Xcode, Apple, the Apple logo, Mac, Mac OS, and Macintosh are
trademarks of Apple Inc., registered in the U.S. and other countries.

For some reason, the wonderful person who created the PDF put a hard break after the "/" right before the word "Developer". So if you actually do copy and paste the line into the terminal as they instruct, it doesn't work. However, if you copy and paste the plain text version on this page, it SHOULD work (no guarantees). If you want to copy and paste from the PDF, you will have to type everything following that "/" by hand, THEN it will work... Thanks Apple!

Here is a link to the advisory.

***UPDATE:

Several people have had to use:

ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1


If you found this post helpful, it was supported in part by the amazon links around the site. If you're going to buy a book anyways, why not help support this blog's author by clicking one of the links on this site to do it? If you are looking for a book on iPhone development, this one is amazing: Beginning iPhone 3 Development: Exploring the iPhone SDK

Comments (14) Trackbacks (1)
  1. Thank you for this! Of all the stupid bugs…

  2. i had to use:
    ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1

    not sure why.

  3. Apple had me going around in circles chasing this. A big big thanks for posting this. How many others wasted time over this? Thanks again

  4. thanks.. wierd apple..

  5. Yep that did the trick. How do i apple keep cocking up simple things like this..

  6. Same as Steve, I had to use:
    ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1

    Thanks Steve!

  7. Thanks!! I was pulling my hair out until I found this tip.

  8. Ta for the information, very usefull

  9. I keep getting a message “File Exists”…what now? I’ve upgraded to the lastest version of Xcode, too.

    One thing: I sync with my machine at home, and I’m doing development work here at work. Does this have anything to do with it?

    Any help is appreciated!
    Mark

  10. the reason you have to use:

    ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1 in

    instead of the regular string is that the folder “3.0 (7A341)” doesn’t exist on your system, only the folder “3.0″

    Check in: /Developer/Platforms/iPhoneOS.platform/ to see what folders are there and use the appropriate string.

    -Ben

  11. Took us a week to find your post. Great information and got us back on trak in 5 minutes. Why could Apple not post information like this clearly on the ITunes connect pages – to warn developers of stuff like this ?

    Everyone does not have time to continually read misc developer forums

  12. Many thanks, that was 2 days of wasted effort for me.

  13. Thank you so much for this. I’ve had the same problem in going to version 3.1.3 and wasted the whole day on this.


Leave a comment