I have an iOS framework target, and I need integrate Crash reporting system for it.
So Crashlytics looks good, but
This Xcode project does not have any Mac or iOS targets
So, is there any way to integrate Crashlytics directly into iOS framework?
I have an iOS framework target, and I need integrate Crash reporting system for it.
So Crashlytics looks good, but
This Xcode project does not have any Mac or iOS targets
So, is there any way to integrate Crashlytics directly into iOS framework?
Follow the below steps provided in the link to integrate Crashlytics.
Fabric Integration
Hope it helps.
There is a solution here that allows your lib users to utilize crashlytics for logging.
Your lib can provide a default log function that calls NSLog or Print or what ever mechanism you want. But also have your library provide a mechanism to override the print method used.
For example, imagine you have a Logger class defined in your library:
Now, when people use your library they will get default printing you implement. But, if they have their own logging solution, like crashlytics they can override it like so:
Thanks Mike Bonnell for your comment here, which says: