Is there a way to set the 'iOS Application Target Bundle Identifier' per 'Build Configuration' in Xamarin?
In XCode you can do that, which means that the same base code can be compiled for different enterprise customers (our case).
Xamarin Studio allows creating 'Build Configurations', and different provisioning profiles can be used in each one, however, it doesn't seem to have a way to set the Bundle Id.
Please advise. Thanks.
Not directly. However you can create pre (or post) build steps scripts (see Custom Commands in your project's options), which knows among other things the configuration being built, i.e. ${ProjectConfig}
.
From the script you can use a tool, like PlistBuddy
, to modify the Info.plist
file values.