Failed to load GoogleService-Info.plist file.

I am trying to configure Google Analytics for my new iOS app by following the instructions here .

He instructs me to click the "Get configuration file" button, but this button just sends me to another page with a spinning motion, nothing happens. I already have a property setting in Google Analytics for the web and a presentation setting for mobile devices.

Can someone share the GoogleService-Info.plist file with him to try to manually fill in the file details and add it to my project?

+6
source share
7 answers

Thanks to Sanjana, I decided to look at the Google web code and found that they have an X-Frame error.

So the url you can visit is https://accounts.google.com/ServiceLogin?service=cloudconsole&osid=1&passiv ... collection / ios / v3 / app? configured% 253Dtrue & hl = en # add -config & cntlbl = Continue

-1
source

It happened to me. If you close everything and follow this link, it will work for me next time. You can try to do it. Below is the link of the plist sample file, of course, I replaced the tracking identifier, package identifier and application identifier with lines from the original values. Hope this helps.

Google Plist File Example

+5
source

Steps to set up if your first login to a Google Developer account.

 1. Open google developer console. 2. Login to developer console. 3. Create project with valid name. 4. Enable google analytics. 5. Then get the configuration file. 
+3
source

The download link is not always immediately visible, and you need to scroll it up to get it, I click the next one before downloading, and I missed the opportunity to download the file.

I prefer automatically generated file as I am lazy (not all of us)

So follow these steps

  • Go to https://developers.google.com/analytics/devguides/collection/ios/v3/
  • Scroll down to Get a configuration file
  • When asking for the application name and package identifier, simply use the drop-down menu and you will find previously created application data there.
  • Continue to: Choose and Configure Services next screen Continue to: Choose and Configure Services
  • Choose your service, note that your previously selected ones will have a green arrow (Analytics in the example below) Select and configure services

  • Choose Generate configuration file

  • You will be given the opportunity to download the file again.

Download and install the configuration file

Voila!

+3
source

You need to log in to the https://console.developers.google.com system to create your first application, and then return to the https://developers.google.com/mobile/add website to work correctly.

+2
source

Installing the Ignore X-Frame headers plugin on Chrome made this error go away

+1
source

Same thing, I got the following invalid json file:

 )]}' {"status":401,"message":"Invalid authuser parameter"} 

and this is allowed by clearing cookies on google.com in your browser.

+1
source

All Articles