Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- # developing with iOS5.1 devices in XCode 4.2 (Snow Leopard):
- # * first, download XCode 4.3.1 from Apple Developer page, which includes the iOS5.1 SDK and tools
- # * mount the dmg regularly, so that it is mounted under /Volumes/Xcode/
- # * close XCode
- # * execute this script
- # * reopen XCode and re-connect your device
- # getting the new device support
- sudo cp -Rpvn "/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176)" /Developer/Platforms/iPhoneOS.platform/
- # getting the new SDK
- sudo cp -Rpvn "/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk" /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
- # backing up version.plist before overwriting it
- sudo mv /Developer/Platforms/iPhoneOS.platform/version.plist /Developer/Platforms/iPhoneOS.platform/version_old.plist
- # getting the new version information
- sudo cp -n /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/version.plist /Developer/Platforms/iPhoneOS.platform/version.plist
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement