Use of custom environment variable for Bundle identifier?

Hi,


Is it possible to use a custom environment variable as a bundle identifier?


When I try to do this, it seems to work in the sense that Xcode will build an archive. But when I try to upload the archive to the app store, it fails, telling me that the bundle ID is invalid. (It thinks the bundle ID is the name of the variable instead of its value).


Frank

Replies

You can check what is the bundle identifier as follow:


let bundleIdentifier = Bundle.main.bundleIdentifier