Dev
Dev

Reputation: 89

Issue with Crashlytics and Answers kit

I am using Crashlytics in my app for tracking crashes and Answers kit too for custom events. I am integrating the frameworks into my project using pod file. But I am getting a linking error while both pods are added like

pod 'Fabric'
pod 'Answers'
pod 'Crashlytics'

When I remove one from Answers and Crashlytics, then all is fine.

Error is :

Apple Mach-O Linker (Id) Error Linker command failed with exit code 1 (use to see invocation)

Any ideas?

Upvotes: 6

Views: 3774

Answers (2)

Mike Bonnell
Mike Bonnell

Reputation: 16249

Mike from Fabric here. Remove the Answers pod reference. This should be your setup for both Answers and Crashlytics.

pod 'Fabric'
pod 'Crashlytics'

If you're using Crashlytics, Answers is included by default and that's why you're getting the conflict.

Upvotes: 18

Hai Nguyen
Hai Nguyen

Reputation: 214

Try this : Go to Build Settings -> Enable Bitcode to No or Clean Xcode by ⇧⌘K (Command Shift K) and rebuild your project.

Upvotes: 0

Related Questions