Wednesday, April 18, 2012
Xcode 4.2 support iOS 5.1
Xcode 4.2 only support up to iOS 5.0 ,but the following method can allow you to run iOS5.1 in Xcode 4.2.
Download Xcode 4.3.1 dmg first, and then :
1. Copy folder
copy /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176) to
Developer/Platformes/iPhoneOS.platform/DeviceSupport
command:
sudo cp -Rpvn "/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176) "
/Developer/Platforms/iPhoneOS.platform/
2. Copy folder
copy /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk to
Developer/Platformes/iPhoneOS.platform/Developer/SDKs
command:
sudo cp -Rpvn " /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk "
/Developer/Platforms/iPhoneOS.platform/
3. Copy folder
copy /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk to
Developer/Platformes/iPhoneOS.platform/Developer/SDKs
Command:
sudo cp -Rpvn " /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs /iPhoneOS5.1.sdk "
/Developer/Platforms/iPhoneOS.platform/
4. Copy version.plist
sudo cp -n /Volumes/Xcode/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform/version.plist /Developer/platform/version.plist /Developer/Platforms/iPhoneOS.platform/version.plist
5. restart Xcode
Now it will support iOS5.1 debug in Xcode 4.2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment