Using script to generate many binary using xcode

349 views Asked by At

I have a project that I need to generate many iPhone apps, but they all with different name, icons, etc.

It will share the same code based but it will be deploy under different project name.

For example:

The project: editions =>  
    Mag1_editions (com.foo.mag1_editions),   
    Mag2_editions (com.foo.mag2_editions),   

I would like put this into script, so I can execute once and all the binary will be archive in organizer ready to be published.

I have tried target, xcodebuild, scheme, build settings, but none of them works for my need.

Any idea would be appreciated.

1

There are 1 answers

2
Rob Napier On

See Xcode "Build and Archive" from command line. Also read the blog post the highly-rated answer links to. It should include everything you need. I just built a very similar script this morning.