2

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?

Community
  • 1
  • 1
Orchid
  • 271
  • 6
  • 20

1 Answers1

10

Run the following command in Terminal:

sudo chmod 777 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist
Anne
  • 26,765
  • 9
  • 65
  • 71
  • 6
    Worked like a charm, thanks! I also had to change the permissions for the containing folder for this to work: `sudo chmod 777 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk` – Orchid Jun 27 '12 at 18:33