Thanks Jacob! It works now. However, a couple things tripped me up that could have been made clearer in the documentation.
setAnalyticsCollectionEnabled is an instance method, not a class method. It would be nice if the instructions included the full line of code required:
[[
FIRAnalyticsConfiguration sharedInstance]
setAnalyticsCollectionEnabled:YES]
For some reason the following (Swift) lines in Xcode don't give me any errors, even though the code is wrong:
#if RELEASE
FIRAnalyticsConfiguration.setAnalyticsCollectionEnabled(true)
#endif
Also, it took me a couple runs to realize that the value sent to
setAnalyticsCollectionEnabled is saved across app executions. I was expecting the Info.plist value to apply for every app execution, and that I had to call
setAnalyticsCollectionEnabled
for every launch in the AppDelegate, but that's not the case.