Alex Rivera | Logout

Setting a provisioning profile from within xcodebuild when making iPhone apps

Asked 2009-05-15T02:34:23.637
47

I'm using xcodebuild to compile my iPhone app from the command line. Is there a way to pass in some sort of option to set the provisioning profile? There seems to be not very much information about xcodebuild in general.

Edit
Report

1 Answer

4

Documentation

It seems from the doc, you can't set the provisioning file BUT you can specify the target:

[-target targetname]

So, if you create a target for each provisioning file, you could select the proper target from the command line.

This would basically accomplish what your asking.

answered 2009-05-15T07:59:34.167

Your Answer