我正在我的应用程序中集成 Firebase Analytics 和 Crashlytics。初始化 Crashlytics 后,我在构建应用程序时收到以下错误。
mediates.noindex/AppName.build/Release-iphoneos/AppName.build/Script-CEF6C7C8235DEDE800229776.sh: line 3:/Users/apple/Documents/AppFolder/AppName/Folder/Pods/FirebaseCrashlytics/run: No such file or directory
命令 PhaseScriptExecution 失败,退出代码非零
以下是我的成绩单配置
我已经导入了 crashlytics pod 和 analytics pod。如何解决这个问题。任何帮助都非常感谢。
最佳答案
它帮助了我。
检查您的 podfile
,它应该包含以下内容:
# Add the pod for Firebase Crashlytics
pod 'Firebase/Crashlytics'
# Recommended: Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'
并运行 pod install
https://firebase.google.com/docs/crashlytics/get-started?platform=iosTo continue getting crash reports in the Firebase console, make sure you upgrade to the Firebase Crashlytics SDK versions 17.0.0+ for Android, 4.0.0+ for iOS, and 6.15.0+ for Unity.
关于swift - FirebaseCrashlytics/运行 : No such file or directory error while building the app - swift,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63704911/