Working With Crashlytics Logs

Make sure the line numbers haven't changed! When cross referencing line numbers from the logs ensure you look at the final files for the version in question, not the new version files you have been working on and changing! Look For Specific Actions The top / last few logs of the thread may be very […]

Read More

Adding Crashlytics Debugging Features

CLS_LOG Use CLS_LOG in place of NSLog like this: #import <Crashlytics/Crashlytics.h> CLS_LOG(@"Higgs-Boson detected! Bailing out… %@", attributesDict); You'll still get the NSLog debugging messages but in release builds you'll get the messages in the Crashlytics dashboard. setUserIdentifier To set an identifier to be shown with a crash log #import <Crashlytics/Crashlytics.h> #ifdef APPDEBUG [Crashlytics setUserIdentifier:@”Development User”]; #else […]

Read More

Crashlytics Issues

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 […]

Read More

Adding Crashlytics to a project

Install the Crashlytics app on your mac.  Crashlytics is then added as an icon (broken gear wheel) in the top menu bar on the mac. Use its options to add it to an xcode project.  It shows you how to add a run script build phase to the project and then add the necessaries to the […]

Read More