Upgrade iOS SDK 4.0 -> 4.1 with custom location

Fri, 24. Sep 2010

Categories: en development Tags: cruft failure iOS iPhone SDK XCode

again, for my custom install location I need to prepare:

  1. cleanly uninstall and remove cruft:
1$ dir=/Users/Developer.SnowLeopard
2$ sudo sh $dir/Library/uninstall-devtools
3$ sudo rm -r $dir/*
4$ sudo mv /Developer /Developer.deleteme
  1. then do the custom-location install and
  2. finally restore some hotfix softlinks:
1$ dir=/Users/Developer.SnowLeopard
2$ sudo ln -s $dir/Platforms /Developer/Platforms
3$ sudo ln -s $dir/SDKs /Developer/SDKs
4$ sudo ln -s $dir/Applications/Xcode.app /Developer/Applications/Xcode.app

Not removing the cruft will get you this quite terse error message:

XCode 3.2.4 install without prior cleaning

XCode 3.2.4 install without prior cleaning