Saturday, March 5, 2011

Building Xcode Projects From the Command Line

xcodebuild -project myProject.xcodeproj -alltargets

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi,

    I am encountering the error below when I tried entering the command.


    === BUILD NATIVE TARGET sample-project OF PROJECT sample-project WITH THE DEFAULT CONFIGURATION (Release) ===
    Check dependencies
    Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
    [BEROR]Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
    ** BUILD FAILED **

    ReplyDelete