Xcode 4.5.2中的命令行选项(Mountain Lion)

ee7vknir  于 2022-12-27  发布在  其他
关注(0)|答案(2)|浏览(170)

我正在尝试调试我越狱手机上的iPhone应用程序,除了我在这里遵循的步骤外,一切都很顺利:

7. Open iPhoneCodeSign.xcspec.
For Xcode 4.3 the file is at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/iPhoneCodeSign.xcspec
For Xcode 4.2 the file is at: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/iPhoneCodeSign.xcspec
For older versions the file is at: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin/Contents/Resources/iPhoneCodeSign.xcspec

我找不到文件(iPhoneCodesign.xcspec)。我使用的是Mountain Lion上的Xcode 4.5.2。我可以在以下位置找到该目录:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/

但是我找不到据说包含Resources/iPhoneCodeSign.xcspec文件的资源目录。在哪里可以找到这个目录?
如果他们移动了它,那么我的下一个问题将是CommandLine = "/usr/bin/codesign"存储在哪里?

lmvvr0a8

lmvvr0a81#

您的文件位于目录中。

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Specifications/iPhoneCodeSign.xcspec
xdnvmnnf

xdnvmnnf2#

该指南不适用于iOS6和XCode 4.5,因为该文件已被删除。要在iOS6上伪造代码签名,请参阅this answer

相关问题