Is there an easy way to have per-configuration app group entitlement strings in Xcode projects?
We're trying to share settings between an iOS application and today extension using an "app group" entitlement in both the targets.
The problem we're having is that we build the application with different bundle and team ids depending on whether it's an enterprise or a release build.
When I use Xcode 6's Capabilities screen, the app groups show up in red lettering and I don't see a way to change the strings for each configuration individually.
I assume one of the following will work, but I don't know which I should try first:
- .xcconfig files
- Manually created entitlement files
- Build script
- Configuration-dependent plist entries
Suggestions?
You can setup this via the "Build Settings". Same way as setting up different bundle ids.
Steps:
Cheers!