Created
March 19, 2012 03:52
-
-
Save icodeforlove/2093859 to your computer and use it in GitHub Desktop.
enable support for the latest SDK in Snow Leopard without having to upgrade to Lion (blog post: http://chadscira.com/post/4f66b44dbc2f008577000001/iOS-SDK-5-1-on-Snow-Leopard)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# copy the iPhone SDK | |
sudo cp -R /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ | |
# copy the iPhone Simulator SDK | |
sudo cp -R /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ | |
# copy the Device Support folder (replace 9B176 with the latest version that comes with XCode) | |
sudo cp -R /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1\ \(9B176\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/ | |
# remove and update the Latest symlink (replace 9B176 with the latest version that comes with XCode) | |
sudo rm -f /Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest | |
sudo ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1\ \(9B176\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment