{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/infer/issues/73","labels_url":"https://api.github.com/repos/facebook/infer/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/facebook/infer/issues/73/comments","events_url":"https://api.github.com/repos/facebook/infer/issues/73/events","html_url":"https://github.com/facebook/infer/issues/73","id":88734641,"number":73,"title":"Crashlytics: dSYM Error","user":{"login":"evgeniyd","id":5212518,"avatar_url":"https://avatars.githubusercontent.com/u/5212518?v=3","gravatar_id":"","url":"https://api.github.com/users/evgeniyd","html_url":"https://github.com/evgeniyd","followers_url":"https://api.github.com/users/evgeniyd/followers","following_url":"https://api.github.com/users/evgeniyd/following{/other_user}","gists_url":"https://api.github.com/users/evgeniyd/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeniyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeniyd/subscriptions","organizations_url":"https://api.github.com/users/evgeniyd/orgs","repos_url":"https://api.github.com/users/evgeniyd/repos","events_url":"https://api.github.com/users/evgeniyd/events{/privacy}","received_events_url":"https://api.github.com/users/evgeniyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-16T13:51:55Z","updated_at":"2015-06-16T13:51:55Z","closed_at":null,"body":"* a project uses [Crashlytics](https://www.crashlytics.com/)\r\n\r\n* `xcodebuild ` runs OK with the following configuration:\r\n`xcodebuild -workspace <workspace_name>.xcworkspace -scheme <scheme_name> -configuration Debug -arch i386 -sdk iphonesimulator `\r\n\r\n* command `infer -- xcodebuild -workspace <workspace_name>.xcworkspace -scheme <scheme_name> -configuration Debug -arch i386 -sdk iphonesimulator` results in an error:\r\n```\r\n...\r\n\r\nCrashlytics: dSYM Error\r\n\r\nUnable to process <app_name>.app.dSYM at path <path_to_build>/<app_name>.app.dSYM\r\nMake sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Crashlytics run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.\r\n\r\nCommand /bin/sh failed with exit code 1\r\n\r\n....\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tPhaseScriptExecution Run\\ Script  <path_to_build>/<app_name>.build/Debug-iphonesimulator/<app_name>.build/Script-46B4741615E41D0E00F9C887.sh\r\n(1 failure)\r\nNone\r\n\r\n```\r\n\r\n**WORKAROUND**\r\nI come up with a workaround to [not to run Crashlytics for \"Debug\" configuration](http://support.crashlytics.com/knowledgebase/articles/118559-can-i-make-the-dsym-uploading-only-on-release-buil)\r\n\r\nNote: Standard suggestions, like _turn on symbolication_, _use dsym and dwarf_ and _put Crashlytics script to be last build phase_ don't work.\r\n"}}