SERVICE_PLIST:找不到 GoogleService-Info.plist

SERVICE_PLIST: GoogleService-Info.plist could not be located

我在使用 Firebase 崩溃报告时遇到问题。

我按照教程创建了项目并通过 cocoapods 安装了 Firebase。

我按照教程实现了崩溃报告。

我的运行脚本:

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

我的 Pod 文件:

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

我的错误:

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

GoogleService-Info.plist 与 json 文件一起位于项目文件夹中。

错误:

上传符号文件:

确保设置文件的目标成员资格。

  1. Select GoogleService-Info.plist 在 Xcode 项目导航器中。
  2. 在右侧的实用程序窗格中启用目标。