Vikram Chaudhary
Vikram Chaudhary

Reputation: 590

linker command failed with exit code 1 (use -v to see invocation) while adding Fabric in Application

I want to add Fabric in my application. Everything is working fine if i am not configuring fabric in didFinishLaunchingWithOptions method, but when I put code to configure Fabric, I'm getting error.

[Fabric with:@[[Crashlytics class]]];

Error :

Undefined symbols for architecture arm64: "_OBJC_CLASS_$_Crashlytics", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Upvotes: 1

Views: 239

Answers (1)

Vinay Mishra
Vinay Mishra

Reputation: 396

You are getting an error, remove the Crashlytics framework and reinstall it. Later, check if it is on the bundle. This should solve the issue.

There is a very good article on the crashlytics (firebase) site It's very simple.

Upvotes: 1

Related Questions