build iPhone app manually (makefile or ant)

Discussion in 'iOS Programming' started by sujithkrishnan, Jun 4, 2009.

  1. sujithkrishnan macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #1
    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?
     
  2. chbeer macrumors member

    chbeer

    Joined:
    Sep 22, 2008
    Location:
    Berlin
    #2
    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)
     
  3. sujithkrishnan thread starter macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #3
    Can you briefly describe how it can done?
    Is it through the build configuration?
    Any kind of inputs are appreciated.
     
  4. Luke Redpath macrumors 6502a

    Joined:
    Nov 9, 2007
    Location:
    Colchester, UK
    #4
    You can use the command-line xcodebuild script.
     
  5. sujithkrishnan thread starter macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #5
    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?
     

Share This Page