Search code examples
iosswiftfirebasefirebase-crash-reporting

SERVICE_PLIST: GoogleService-Info.plist could not be located


I'm having trouble with Firebase Crash Report.

I created the project and installed Firebase via cocoapods following tutorial.

I implemented the crash report following tutorial.

My Run Script:

"${PODS_ROOT}"/FirebaseCrash/upload-sym "Organizze/Organizze-282b91162d30.json"

My Pod File:

pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Crash'

My error:

FirebaseCrash/upload-sym:132: error: SERVICE_PLIST: GoogleService-Info.plist could not be located

GoogleService-Info.plist is inside the project folder along with the json file.

Error:

1

Upload-sym file:

2


Solution

  • Make sure you set the target membership of the file.

    1. Select GoogleService-Info.plist in the Xcode project navigator.
    2. Enable the target in the right utilities pane.

    enter image description here