Skip to main content

Where is set the active build configuration in Xcode 4



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.


Comments

  1. 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:



    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.

    ReplyDelete
  2. You can use alt(option) and click on either, run, test or profile to see the option.
    Here you can set the target for each option.

    For Archive the release is normally used, since can you resign your app via the organizer there is no need ad-hoc and appstore target any more.

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?