Search code examples
capacitorcapacitor-plugin

Where to add GoogleService-Info.plist for Capacitor


I found a lot of related questions, but none about the specifics for Capacitor.

When it comes to Capacitor, do we need to add GoogleService-Info.plist to:

  1. ios/App OR
  2. ios/App/App

The Firebase console says this... enter image description here


Solution

  • You have to add it from Xcode, because if you just copy it on any of those folders, Xcode won't see it.

    With Xcode open, just drag the file anywhere inside the yellow App folder, Xcode will prompt you, make sure the "Copy items if needed" is checked and the radio button is in "Create groups" and Click finish prompt

    example