如何将Crashlytics集成到iOS框架项目中? [英] How to integrate Crashlytics into an iOS framework project?

查看:84
本文介绍了如何将Crashlytics集成到iOS框架项目中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个新的iOS框架,并希望在其中集成Crashlytics.使用Fabric.io Mac工具,我单击 + New App 并选择了我的iOS框架Xcode项目.但是,在下一个屏幕(初始化SDK")中,出现以下错误:

I am building a new iOS framework and would like to integrate Crashlytics in it. Using Fabric.io Mac tool I clicked on +New App and selected my iOS framework Xcode project. However, in the next screen ("Initialize the SDK") I get the following error:

此Xcode项目没有任何Mac或iOS目标

This Xcode project does not have any Mac or iOS targets

是的-我的框架目标Bundle OS代码是 FMWK ,而不是应用程序的常规 AAPL .

Well yes - my framework target Bundle OS code is FMWK and not the usual AAPL of an app.

我的问题:有没有人设法将Crashlytics集成到iOS框架项目中?有可能吗,以及如何做到这一点?

My question: has anyone managed to integrate Crashlytics into an iOS framework project? Is it possible, and how this can be done?

推荐答案

Crashlytics用于ios应用程序崩溃日志,供开发人员立即在应用程序中查找崩溃.它不是开发框架,而是将Crashlytics集成到框架构建中.

Crashlytics is for the ios app crash logs for the developers to immediately find crashes in the application. It is not a development framework and integrates Crashlytics in the framework building.

换句话说,Crashlytics将仅集成到Mac OS X应用程序或ios移动应用程序的xcode项目中.

In other words, Crashlytics will integrate only in the xcode project of a either Mac OS X application or ios mobile app.

这篇关于如何将Crashlytics集成到iOS框架项目中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆