PDA

View Full Version : compiling iphone project from command line




underthesun
Oct 30, 2008, 07:53 AM
Hello, greetings from Australia (first time in this forums) :)

I was trying to compile the iphone dev project that was made from one of xcode's starter template.. from the command line. I'm basically doing all the text editing from another computer, because my mac mini doesn't support dual monitors..

However, when I went to the development directory, to run xcodebuild, I got the following message:

CodeSign error: no certificate found in keychain for code signing identity 'iPhone Developer'.

What's up with that?



jnic
Oct 30, 2008, 09:12 AM
Assuming you don't have any provisioning profiles installed; make sure you're in Simulator mode rather than Device mode.

underthesun
Oct 30, 2008, 09:17 AM
Xcode seems to set it as simulator mode, but I wonder if this gets translated automatically to the xcodebuild command line tool?

robbieduncan
Oct 30, 2008, 09:32 AM
Xcode seems to set it as simulator mode, but I wonder if this gets translated automatically to the xcodebuild command line tool?

Maybe there is a command line arg for which build settings to use?