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






August 16th, 2009 - 11:27
Thank you for this! Of all the stupid bugs…
August 18th, 2009 - 07:22
i had to use:
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1
not sure why.
August 18th, 2009 - 14:41
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
August 19th, 2009 - 03:00
thanks.. wierd apple..
August 21st, 2009 - 08:44
Yep that did the trick. How do i apple keep cocking up simple things like this..
August 21st, 2009 - 11:08
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!
August 21st, 2009 - 17:53
Thanks!! I was pulling my hair out until I found this tip.
August 22nd, 2009 - 07:31
Ta for the information, very usefull
August 26th, 2009 - 11:28
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
August 27th, 2009 - 09:43
complete 3.0.1 issue is explained and fixed here:
http://www.technolosophy.com/2009/08/xcode-iphone-os-301-error-in-o.html
September 1st, 2009 - 02:26
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
September 3rd, 2009 - 06:02
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
September 3rd, 2009 - 18:59
Many thanks, that was 2 days of wasted effort for me.
April 10th, 2010 - 02:02
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.