Adding a build configuration in Xcode

I ran into this same problem and figured it out. Here is a screenshot of the problem. I want to duplicate my “Release” configuration, but the option to do so is disabled. Why?

enter image description here

The answer is hiding behind this little button here (circled in red)…

enter image description here

This menu will open to reveal that you currently have a build target selected. Build targets don’t have their own configurations.

Configurations are project-wide. If you select the project file, the menu will work, as shown here.

You also have to make sure that the ‘Info’ tab is selected, the options are still greyed out if you are on the ‘Build Settings’ page

enter image description here

Leave a Comment