File was built for unsupported file format error

ld: warning: ignoring file #####/Crashlytics.framework/Crashlytics, file was built for unsupported file format

Delete Crashlytics.framework from your project and then run the following command:

ditto -xk /Applications/Crashlytics.app/Contents/Resources/com.crashlytics.sdk.ios-default.zip ~/Desktop/

which will copy the framework to the desktop. You can then manually add that back into your project.

./Crashlytics.framework/run: No such file or directory 

Select your project > Build Phases > Run Script

The Crashlytics.framework run script needs to be pointing to where the framework actually is located.  It may be that although your deleted and re-added the crashlytics framework to your project the run script hasn't been set to the correct location.  E.g. if the run script path is ./ and the framework file isn't acutally stored in your projects folder update the path to where the framework actually is located on the disk.

 

 

 

UK Electronic Designer