Xcode doesn't recognize GoogleService-Info.plist file after adding Firebase via pods
To anyone still having this issue:
- Add the file to the project
- Click on it:
- On the right sidebar from Xcode, mark the
Target Membership
option:
It happens to me. Just erase the (7). The Xcode firebase framework connects to firebase through the GoogleService-Info.plist
when you build your code an error will be display if the .plist file is not called exactly: GoogleService-Info.plist
. At the moment that the .plist file has another character in the name, the firebase framework will not recognize it. The framework is searching just for the GoogleService-Info.plist not GoogleService-Info.plist (07)
This usually happens when you download several times your GoogleService-Info.plist from the console. If you want to avoid this. Get the file out from your "downloads" carpet. Otherwise, your computer is going to add a number at the end of the name file if you already have one inside that carpet. It creates a copy.
Hope this can help!
I solved this by using these steps :
Go to Build Phases of your project
Expand "Copy Bundle Resources"
- Click on Plus (+) button and add "GoogleService-Info.plist" file.
clean and build your project.