我正在尝试将应用推向越狱的iPhone进行开发测试。我想按照第二个答案in this post中的步骤进行操作,其中涉及编辑Xcode的SDKSettings plist:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist
当我尝试编辑此文件时,出现错误,我不是所有者,无法解锁。如何获取此文件的root权限?
答案 0 :(得分:7)
在终端中运行以下命令:
sudo chmod 777 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist