Reputation: 219
I tried to integrate Fabric in iOS project. I followed the steps from the tutorial:
Implementation:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Fabric with:@[CrashlyticsKit]];
return YES;
}
However at last check application crashes:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Kit info missing for Crashlytics kit'
What is wrong?
Upvotes: 0
Views: 252
Reputation: 12948
You probably already imported these files, but for future readers, you should also have in AppDelegate.m
:
#import <Fabric/Fabric.h>
#import <Crashlytics/Crashlytics.h>
You should also have Fabric.framework
and Crashlytics.framework
in your Frameworks (project -> target -> link phases -> link binary with libraries
).
You should also have Fabric RunScript
in Link Phases
:
./app/path/Fabric.framework/run key1 key2
If you followed Fabric.app
tutorial, you should have all these steps configured. Did you follow it? Fo you have all above items?
Upvotes: 1