简体   繁体   English

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

[英]CommandLine Option in Xcode 4.5.2 (Mountain Lion)

I am trying to debug iPhone apps on my jailbroken phone, and everything has gone well besides the step I am following here :我正在尝试在我的越狱手机上调试 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

I am having trouble finding the file (iPhoneCodeSign.xcspec).我找不到文件 (iPhoneCodeSign.xcspec)。 I am using Xcode 4.5.2, on Mountain Lion.我在 Mountain Lion 上使用 Xcode 4.5.2。 I can find the directory at:我可以在以下位置找到该目录:

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

but I cannot find the Resource directory which is said to contain the Resources/iPhoneCodeSign.xcspec file.但我找不到据说包含 Resources/iPhoneCodeSign.xcspec 文件的 Resource 目录。 Where can this be found?在哪里可以找到?

If they moved it, then my next question will be where is the CommandLine = "/usr/bin/codesign" stored?如果他们移动了它,那么我的下一个问题是CommandLine = "/usr/bin/codesign"存储在哪里?

That guide is not suitable for iOS6 and XCode 4.5 since that file has been removed.该指南不适用于 iOS6 和 XCode 4.5,因为该文件已被删除。 In order to fake code signing on iOS6 refer to this answer .为了在 iOS6 上伪造代码签名,请参考这个答案

Your file is in the directory.您的文件在目录中。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM