Like most of you, I too downloaded the 3.2 beta and was playing around with some iPad stuff. Today when iPhone OS 3.1.3 is released, without second thought, I immediately updated my iPhone. My iPhone being a development device, I understood that I can no longer use the current XCode installation to run apps on device. When I launched XCode, the Organizer reported,


“The version of iPhone OS on “ABC’s iPhone” does not match any of the versions of iPhone OS supported for development with this installation of the iPhone SDK”

So does that mean, you should re-install the SDK? Just like me, you will probably have confusions like,

Will installing it corrupt or overwrite your 3.2 beta?


Should I re-install 3.2 beta again?

I too had these. Fortunately, I decided to hack things myself and got the 3.1.3 working without downloading the entire SDK. This is how I did. Type the following command into your terminal.


ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2\ \(7D11\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3


Now quit and restart XCode. Voila! you have effectively “fooled” XCode! and you have saved countless hours which you can effectively use on programming another cool app!

Note that this hack will work *any* minor OS updates. However, if you are using a feature specific to the new version you will probably find yourself in trouble. In other words, don’t try to apply the same technique when 3.2 or 4.0 launches.


Mugunth

Follow me on Twitter

If you enjoyed this post, make sure you subscribe to my RSS feed!

No related posts.

  • Jason

    Worked like a champ. Thanks!

  • Ben

    Thankyou… saved me so much trouble :)

  • http://hackingedge.com restaurant city money hack cheat engine 5.5

    Thanks so much for your brilliant post;this is the kind of thing that keeps me going through out these day. I have been looking around for this site after asked to visit them from a colleague and was thrilled when I was able to find it after searching for awhile. Being a demanding blogger, I’m pleased to see others taking initivative and contributing to the community. I just wanted to comment to show my appreciation for your work as it is very interesting, and many bloggers do not get appreciation they deserve. I am sure I’ll drop by again and will spread the word to my friends.

  • http://www.theappforapps.com Rashad Becerril

    Excellent blog post!