According to Google's documentation (Analytics for iOS), they want you to download some auto-generated .plist file to configure your app. Unfortunately, I have multiple report suites (Debug, Release) and need to switch dynamically depending on the build. So I'm trying to do one of two things:
- Is there a way to totally ditch the .plist file and set all the configs dynamically? What values would one need?
-OR-
- Can I alter the values in the Google .plist file to use variables from my project's User-Defined Build Settings? I tried adding one named GOOGLE_ANALYTICS_ID and referencing it by ${GOOGLE_ANALYTICS_ID} in the Google .plist file, but it doesn't substitute the value like how I would expect it to.
How have you dynamically instructed your app to send to different report suites depending on whether your app is Debug or Release?