I am getting this error that\'s causing the AppDelegate to crash
Terminating app due to uncaught exception \'com.google.greenhouse\', reason: \'Error Doma
The accepted solution was to remove Google Analytics. But you actually can have both Firebase and Google Analytics. The solution I found was to add TRACKING_ID into GoogleService-Info.plist
for example, add this:
<dict>
<key>TRACKING_ID</key>
<string>UA-XXXXXX-X</string>
Hope it helps someone!
I asked the Firebase team on this issue and they have responded.
Things you can check if the issue still persist. Check to see that the GoogleService-Info.plist file is at the correct location i.e at the project root. Check your IS_ANALYTICS_ENABLED in the google plist. Try changing it. Try removing pod 'Google/Analytics'. Add -FIRAnalyticsDebugEnabled to get more debugging information.
My problem was solved by removing Google/Analytics pod.
We had the exact same error and solved by removing
pod 'Google/Analytics'
from Podfile.
In our case, we had been using GA and switch to Firebase + TagManager Solution, but just forgot to remove 'Google/Analytics' from Podfile. (Even we remove 'Google/Analytics', TagManager installs GoogleAnalytics for dependencies but errors are gone. Curious but it works...)