I am trying to push an app to a jailbroken iPhone for development testing. I want to follow the steps in the second answer in this post, which involves editing Xcode's SDKSettings plist:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist
When I try to edit this file, I get an error that I'm not the owner and cannot unlock it. How do I get root privileges for this file?
Run the following command in Terminal:
sudo chmod 777 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist