After adding crashlytics code (crashlytics.sh) & Patching the xcodeproject file (crashlytics.rb)
-
It will work in xcode but not in cordova anymore.
-
This is because xcoder writes the .xcodeproj file in a format that node-xcode doesn't understand.
-
you need to 'beautify/sanitize' the file again.
brew install xcproj
- and run
xcproj -P <path to your xcodeproj file> touch
-
now you are ready to go in cordova
NOTE:
- your app will not show up in crashlytics unless you first RUN it (building is not enough)
- sometimes I found that I need to cordova build the project twice for the run script to kick in.