Compiling my main target (not a test target like here) yields this error:
ld: warning: Auto-Linking supplied \'~/Documents/my_app/MyApp/Crashlytics.frame
For future reference, this can also happen if you link your test files to your app target.
For example: https://github.com/realm/realm-cocoa/issues/1661