通过cocoapods使用没有插件的Crashlytics

时间:2015-01-29 17:07:17

标签: ios cocoapods crashlytics

是否可以在不安装iOS插件的情况下使用crashlytics和fabric

我发现这个fabric pod可以让你获得必要的结构框架,但是当我构建我的应用程序时,我收到了这条消息:

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

2 个答案:

答案 0 :(得分:7)

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

如果您只是在寻找Crashlytics,可以使用这两个广告连播:

pod 'Fabric'
pod 'Crashlytics'

随着添加以下构建阶段脚本:

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

Run Script Build Phase

答案 1 :(得分:1)

现在有一个来自Twitter的官方pod规范:https://github.com/CocoaPods/Specs/tree/master/Specs/Fabric