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?