iOS project configuration bundle identifier

First of all, to be clear, there are four places where you can see the bundle identifer in the engineering panel.

They are info.plist, general, signing& capabilities and build setttings 

, However, the value in info.plist is to read the value configured in the build settings. It does not play a configuration role by itself. There are some places that can play a configuration role in the project.

The three are general, signing & capabilities and build settings. Later, it was discovered that modifying the bundle identifier in signing & capabilities will only modify the identifier in the debug environment, but not the release environment, but if you modify the bundle in the general identifier, it will modify the bundle identifiers of all environments

 

The following two pictures are the effect of modifying the bundle identifier in signing & capabilities. It is found that only debug has been modified (probably because it is currently in the debug environment)

 

It turns out that our project grouped the environment

Guess you like

Origin blog.csdn.net/LIUXIAOXIAOBO/article/details/112597024