Search code examples
objective-cxcodecode-signingjailbreak

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:

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). I am using Xcode 4.5.2, on Mountain Lion. 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. Where can this be found?

If they moved it, then my next question will be where is the CommandLine = "/usr/bin/codesign" stored?


Solution

  • Your file is in the directory.

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