Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is set the active build configuration in Xcode 4

Tags:

xcode

ios

I have 3 configurations in my project (Debug, Distribution_AdHoc and Distribution_AppStore). In Xcode 3 we had a list to choose device, version, configuration and target before build and run. Now with Xcode 4 we only have the device kind and version in this list. This bring my two questions:

  1. So where is defined the configuration used ? Is that the configuration defined in "Project > Info > Command-line builds use: Debug" ?

  2. And now the "Project" menu is replaced by "Product" So where can we create (or duplicate and edit) a Configuration ?

Thank you.

like image 381
Ludovic Landry Avatar asked Mar 14 '11 13:03

Ludovic Landry


1 Answers

Just in case you still want to make a Distribution config (or other config--I still find them useful), after great length (read: searched in the help for 'duplicate'), I found this:

the editor menu holds the key!

At first, they were all grayed out; this was because I had one of the targets highlighted in the editor (MFE, MFETests, etc.). If you highlight your project (as in the screenshot), they become enabled.

like image 145
Ben Mosher Avatar answered Oct 16 '22 01:10

Ben Mosher