Xcode configuration doesn’t change after switching schemes

752 Views Asked by At

In my Xcode project, I set up two schemes: Dev and Release; each corresponds to the configuration of the same name.

The problem is, when I activate the Release scheme, the project still uses the Dev configuration: in project details, I see product name and bundle identifier that belong to Dev.

Here’s scheme settings for Release. As you can see, the Release configuration is selected for all modes.

The Release configuration is selected for all modes

And here’s what I see in the Identity pane with the Release scheme activated:

The Dev configuration is still selected

Is it an Xcode bug or me doing something wrong? How can I fix this?

1

There are 1 best solutions below

5
On

If you have configured your project properly with which configuration to use for a scheme, then you can check by installing app on simulator side by side for every schemes.

Refer below post for configuration: https://medium.com/slalom-engineering/ios-managing-multiple-environments-with-a-single-target-94cf823a6447 https://medium.freecodecamp.org/managing-different-environments-and-configurations-for-ios-projects-7970327dd9c9