{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/1164","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/1164/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/1164/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/1164/events","html_url":"https://github.com/fastlane/fastlane/issues/1164","id":127923248,"number":1164,"title":"Upload to crashlytics is not stable","user":{"login":"tmp120210","id":891577,"avatar_url":"https://avatars.githubusercontent.com/u/891577?v=3","gravatar_id":"","url":"https://api.github.com/users/tmp120210","html_url":"https://github.com/tmp120210","followers_url":"https://api.github.com/users/tmp120210/followers","following_url":"https://api.github.com/users/tmp120210/following{/other_user}","gists_url":"https://api.github.com/users/tmp120210/gists{/gist_id}","starred_url":"https://api.github.com/users/tmp120210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmp120210/subscriptions","organizations_url":"https://api.github.com/users/tmp120210/orgs","repos_url":"https://api.github.com/users/tmp120210/repos","events_url":"https://api.github.com/users/tmp120210/events{/privacy}","received_events_url":"https://api.github.com/users/tmp120210/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mfurtak","id":343134,"avatar_url":"https://avatars.githubusercontent.com/u/343134?v=3","gravatar_id":"","url":"https://api.github.com/users/mfurtak","html_url":"https://github.com/mfurtak","followers_url":"https://api.github.com/users/mfurtak/followers","following_url":"https://api.github.com/users/mfurtak/following{/other_user}","gists_url":"https://api.github.com/users/mfurtak/gists{/gist_id}","starred_url":"https://api.github.com/users/mfurtak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfurtak/subscriptions","organizations_url":"https://api.github.com/users/mfurtak/orgs","repos_url":"https://api.github.com/users/mfurtak/repos","events_url":"https://api.github.com/users/mfurtak/events{/privacy}","received_events_url":"https://api.github.com/users/mfurtak/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2016-01-21T13:23:29Z","updated_at":"2016-04-01T13:02:38Z","closed_at":null,"body":"I'm using fastlane for nightly buids and keep them in the crashlytics.\r\n\r\nTo do this, I added crashlytics action with following config: \r\n\r\ncrashlytics(\r\n          api_token: \"token\",\r\n          build_secret: \"secret\",\r\n      ipa_path: \"project.ipa\",\r\n      notes: \"Nightly build at \" + Time.new.strftime(\"%H:%M:%S %d.%m.%Y\"),\r\n      emails: ['mails'],\r\n      notifications: false,\r\n      debug: true\r\n)\r\n\r\nI've noticed that sometimes build automatically submitted to crashlytics and sometimes not. Generally, when fastlane fails to upload the binary, I just execute the same shell command and it works normally.\r\n\r\nfastlane log:\r\n/iosdomoby/Domoby.app.dSYM.zip\", :XCODEBUILD_ARCHIVE=>\"/Users/tmp120210/Library/Developer/Xcode/Archives/2016-01-21/Domoby 2016-01-21 16.12.02.xcarchive\"}\r\n[16:14:15]: Exit status of command './Pods/Crashlytics/Crashlytics.framework/submit token secret -ipaPath 'project.ipa' -emails 'mails' -notesPath '/var/folders/4g/_3dyg_0534q0wd8qbd0r325h0000gn/T/changelog20160121-85494-1uehkdt' -notifications NO -debug YES' was 1 instead of 0.\r\n2016-01-21 16:13:46.954 submit Crashlytics: Crashlytics.framework/submit 1.3.5 (15)\r\n2016-01-21 16:13:46.961 submit Crashlytics: Path to IPA manually provided: project.ipa\r\n2016-01-21 16:13:47.495 submit Crashlytics: Path To App: /var/folders/4g/_3dyg_0534q0wd8qbd0r325h0000gn/T/Domoby/Payload/Domoby.app\r\n2016-01-21 16:13:52.157 submit Crashlytics: Added Release Notes Successfully 200\r\n2016-01-21 16:13:52.624 submit Crashlytics: Added Testers/Groups Successfully 200\r\n2016-01-21 16:13:52.633 submit Crashlytics: Submitting IPA at /var/folders/4g/_3dyg_0534q0wd8qbd0r325h0000gn/T/com.crashlytics.mac/distributions/EB28DBCB-5AB9-47C8-B80E-EC220F1EEC14.ipa\r\n2016-01-21 16:14:13.984 submit Crashlytics: Unable to submit build. Response code: 0\r\n2016-01-21 16:14:13.994 submit Crashlytics: Failed to upload binary\r\n\r\n\r\nThen, I manually run this shell command:\r\nMichaels-Air:ios tmp120210$ ./Pods/Crashlytics/Crashlytics.framework/submit token secret -ipaPath 'project.ipa' -emails 'mails' -notifications NO -debug YES\r\n2016-01-21 16:14:58.778 submit Crashlytics: Crashlytics.framework/submit 1.3.5 (15)\r\n2016-01-21 16:14:58.784 submit Crashlytics: Path to IPA manually provided: project.ipa\r\n2016-01-21 16:14:59.176 submit Crashlytics: Path To App: /var/folders/4g/_3dyg_0534q0wd8qbd0r325h0000gn/T/Domoby/Payload/Domoby.app\r\n2016-01-21 16:15:04.228 submit Crashlytics: Added Testers/Groups Successfully 200\r\n2016-01-21 16:15:04.236 submit Crashlytics: Submitting IPA at /var/folders/4g/_3dyg_0534q0wd8qbd0r325h0000gn/T/com.crashlytics.mac/distributions/4B32E38A-922B-4C6A-B26A-E387B731BE8C.ipa\r\n2016-01-21 16:15:16.812 submit Crashlytics: Uploaded Successfully 202\r\n\r\ncrashreport hash from fastlane: a2c7fb6b0d04c522076e8f9e96d44f29\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/204390290","html_url":"https://github.com/fastlane/fastlane/issues/1164#issuecomment-204390290","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/1164","id":204390290,"user":{"login":"TKBurner","id":1987108,"avatar_url":"https://avatars.githubusercontent.com/u/1987108?v=3","gravatar_id":"","url":"https://api.github.com/users/TKBurner","html_url":"https://github.com/TKBurner","followers_url":"https://api.github.com/users/TKBurner/followers","following_url":"https://api.github.com/users/TKBurner/following{/other_user}","gists_url":"https://api.github.com/users/TKBurner/gists{/gist_id}","starred_url":"https://api.github.com/users/TKBurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TKBurner/subscriptions","organizations_url":"https://api.github.com/users/TKBurner/orgs","repos_url":"https://api.github.com/users/TKBurner/repos","events_url":"https://api.github.com/users/TKBurner/events{/privacy}","received_events_url":"https://api.github.com/users/TKBurner/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T13:02:38Z","updated_at":"2016-04-01T13:02:38Z","body":"@janandre Can you post the full output of when you run 'fastlane run crashlytics'? Also can you run fastlane -v and ruby -v and send over those results. Definitely want to have a look at this :+1: "}}