IDE script to change bundle identifier?

I’m trying to automate building of two slightly different apps from one codebase. The only thing I’m still struggling with is changing the bundle identifier. I’ve found that I can build the two apps with different names using an IDE script with the following code:

[code]dim appName as string = PropertyValue(“App.MacOSXAppName”)
dim bundleID as string
dim path as string

ConstantValue(“App.kIsPro”) = “True”
PropertyValue(“App.MacOSXAppName”) = appName + " Pro"
path = buildApp(7, false)

ConstantValue(“App.kIsPro”) = “False”
PropertyValue(“App.MacOSXAppName”) = appName
path = buildApp(7, false)[/code]

However, I cannot for the life of me figure out how to also change the bundle identifier. In fact, I cannot find any official documentation whatsoever for the “MacOSXAppName” property, either - I just found that in another post on these forums. There must be a similar property for the bundle identifier, but I cannot find it.

Any ideas?

Try “Application Identifier” - yes with spaces
https://forum.xojo.com/12864-setting-bundle-identifier/6#p99395

With the space? Bizarre. It works perfectly, though.

Is the list of these property names documented somewhere? (The link you provided says “Page not found”, so if the answer was there, I can’t see it now.)

These aren’t “properties” in the conventional sense like you’d add to a class
Hence why we can put a space in it
They’re values that get used to create the plist file etc

I’m not sure they are documented in the LR - maybe the users guides