Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ld: framework not found Crashlytics

After a pull I suddenly get the following error in xcode:

ld: framework not found Crashlytics

However my team mate has no problem. He updated Crashlytics and pushed his changes on SourceTree as it runs fine on his computer. Even if I totally remove the project and do a git clone, it still doens't work.

like image 237
bicycle Avatar asked Aug 18 '15 09:08

bicycle


People also ask

How do you integrate Crashlytics in iOS app?

Step 1: Add the Crashlytics SDK to your app Use Swift Package Manager to install and manage Firebase dependencies. Visit our installation guide to learn about the different ways you can add Firebase SDKs to your Apple project, including importing frameworks directly and using CocoaPods.

What is Crashlytics Swift?

Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.


1 Answers

The problem is caused by a bug in SourceTree that doesn't detect type changes in binary files. When your team mate updated Crashlytics and Fabric, source tree didn't recognise a few of the binary symlink changes it made. Solution is to do the following:

  • Go to his terminal
  • Navigate to his project folder (cd ~/folder/to/project)
  • Add the missing files (git add --all)
  • Commit his changes from there (git commit -a -m "My informational commit message")
  • Push his changes (git push origin branch_name)
  • And then finally on your computer do a pull (git pull origin branch_name)
like image 188
bicycle Avatar answered Oct 08 '22 11:10

bicycle