ios - 通过 cocoapods 在没有插件的情况下使用 Crashlytics

标签 ios cocoapods crashlytics

是否可以使用 crashlytics 和 fabric没有安装适用于 iOS 的 mac 插件?

我找到了这个 fabric pod这允许您获得 fabric 工作所需的框架,但是当我构建我的应用程序时,我收到此消息:

Fabric: This app relies on Fabric. Please sign up for access at https://fabric.io/sign_up,
install Fabric.app then ask a team member to invite you to this app's organization.

If this machine is a build server please remove Fabric.app if present and use xcodebuild so that SchoolSpring.app.dSYM is uploaded.
Command /bin/sh failed with exit code 1

最佳答案

Fabric 现在支持使用 CocoaPods 安装:http://docs.fabric.io/ios/fabric/cocoapods.html

如果您只是在寻找 Crashlytics,您可以使用这两个 pod:

pod 'Fabric'
pod 'Crashlytics'

连同添加以下构建阶段脚本:

${PODS_ROOT}/Fabric/Fabric.framework/run

Run Script Build Phase

关于ios - 通过 cocoapods 在没有插件的情况下使用 Crashlytics,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28220491/

相关文章:

iOS 8 iCloud 容器变化

github - 由于私有(private) pod 从私有(private)存储库作为二进制文件提供,因此 Pod 安装失败

ios - 无法在 iOS 项目中更新 Google AdMob

ios - 上传处理 1 次崩溃所需的 1 个缺失的 dSYM

ios - 是否应该始终在主线程上调用BecomeFirstResponder()?

ios - UIImage 在将其转换为 CIImage,然后转换为 CGImage 并返回 UIImage 时失去了方向

android - 错误 :Gradle: Execution failed for task ':app:crashlyticsCleanupResourcesDebug' . > Crashlytics 开发者工具错误

iOS Firebase Crashlytics : Out Of Memory (OOM) Reporting

ios - UIButton 在单元格重新加载时创建两次

cocoapods - pod install 和 pod install --repo-update 有什么区别?