2012-12-24 62 views
3

我试图调试我越狱的手机上的iPhone应用程序,并且一切顺利,除了步骤我下面here命令行选项在Xcode 4.5.2(山狮)

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/ 

,但我无法找到,据说这是包含资源/ iPhoneCodeSign.xcspec文件中的资源目录。哪里可以找到?

如果他们移动它,那么我的下一个问题将存储在哪里CommandLine = "/usr/bin/codesign"

回答

1

你的文件在目录中。

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

圣诞快乐。

1

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