How to integrate Crashlytics into an iOS framework project?

怎甘沉沦 提交于 2021-02-08 15:33:47

问题


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:

This Xcode project does not have any Mac or iOS targets

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

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


回答1:


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.

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



来源:https://stackoverflow.com/questions/31960333/how-to-integrate-crashlytics-into-an-ios-framework-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!