PDA

View Full Version : build iPhone app manually (makefile or ant)




sujithkrishnan
Jun 4, 2009, 03:52 AM
Hi all,

I posted a question regarding makefile for iPhone app and i got some links. However it didnt worked out well for me.

Did any one created or tried out simple makefile for iPhone app?
How to configure it?

Or can we build iPhone app using ant (External build system) or apple script ?
I think its possible, but i want a snippet which demonstrate the same.


The requirement is that I want to fetch some files from a server and use that files to build the app. Now i "curl" the files and copy it to my mac and build using Xcode. Can i combine the process anyway?



chbeer
Jun 4, 2009, 05:15 AM
You can add script calls to the XCode make process. That's really simple. I did it for creation of my SQLite database. You will find examples by Google (can't access my code currently)

sujithkrishnan
Jun 4, 2009, 07:14 AM
You can add script calls to the XCode make process. That's really simple. I did it for creation of my SQLite database. You will find examples by Google (can't access my code currently)

Can you briefly describe how it can done?
Is it through the build configuration?
Any kind of inputs are appreciated.

Luke Redpath
Jun 4, 2009, 12:19 PM
You can use the command-line xcodebuild script.

sujithkrishnan
Jun 5, 2009, 02:23 AM
You can use the command-line xcodebuild script.

Thanking you both for the response

Can we set the certificate also through terminal ?

Or we want to do that through xcode and come to terminal for building?