问题
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