I previously upgraded to Fabric and had no problems. After a couple of days, I re-opened the same project and had the missing crashlytics.h problem.
I couldnโt just reinstall from the plugin due to an uncompiled project (I had so many CLS_LOG messages and links to the missing crashlytics.h file in my project, it would take a lot of time to remove them just to allow the assembly to work - refactoring does not will work on CLS_LOG).
So, instead, I removed crashlytics.framework from my project and did the following to restore it directly from the plug-in:
Download the Fabric plugin again and double-click the zip file to unzip the Fabric application.
Right-click the Fabric and Show Package Contents icon
Copy the Crashlytics.framework folder to your desktop, and then add it to your project again via File โ Add Files to ....
If step 3 does not work for you, you can also add crashlytics.framework to your project folder directly on your computer, and then add it to your project list via Xcode in the same way as in step 3, but uncheck the box "Copy items if necessary "because you already posted the files there yourself.
My project is then compiled and works fine again.
In terms of why the file was missing? Part of the upgrade process made me remove the old frameworks, and then run the scripts, etc. From the plugin. I think what happened later when I emptied my trash that some links were lost. I also had a problem when I put Crashlytics in my .gitignore file so that it disappears from all my projects that were completed, and that was not the case.
Hope this helps someone!
instAustralia Jun 25 '15 at 4:47 2015-06-25 04:47
source share