{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6431","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6431/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6431/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6431/events","html_url":"https://github.com/fastlane/fastlane/issues/6431","id":181442579,"number":6431,"title":"Gym should include more error detail with Check Dependencies error 65","user":{"login":"gcamp","id":129745,"avatar_url":"https://avatars.githubusercontent.com/u/129745?v=3","gravatar_id":"","url":"https://api.github.com/users/gcamp","html_url":"https://github.com/gcamp","followers_url":"https://api.github.com/users/gcamp/followers","following_url":"https://api.github.com/users/gcamp/following{/other_user}","gists_url":"https://api.github.com/users/gcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/gcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcamp/subscriptions","organizations_url":"https://api.github.com/users/gcamp/orgs","repos_url":"https://api.github.com/users/gcamp/repos","events_url":"https://api.github.com/users/gcamp/events{/privacy}","received_events_url":"https://api.github.com/users/gcamp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-06T15:10:35Z","updated_at":"2016-10-06T15:17:33Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nI've been having a code sign issue that was really hard to debug with fastlane. There's multiple issue about this here. Output when using gym looks like this : \r\n\r\n```\r\n▸ Check Dependencies\r\n** ARCHIVE FAILED **\r\n\r\n\r\nThe following build commands failed:\r\nCheck dependencies\r\n(1 failure)\r\n[10:55:25]: Exit status: 65\r\n```\r\n\r\nSo it was basically trial and error until finding the problem. However, when I copied the xcodebuild command and ran it manually, I got a nice and clear error of what was going on : \r\n\r\n```\r\n=== BUILD TARGET Transit Watch Extension OF PROJECT Transit WITH CONFIGURATION Release ===\r\n\r\nCheck dependencies\r\nProvisioning profile \"\" doesn't include signing certificate \"iPhone Developer: iOS Devs ()\".\r\nProvisioning profile \"\" belongs to team \"\", which does not match the selected team \"\".\r\nCode signing is required for product type 'WatchKit Extension' in SDK 'watchOS 3.0'\r\n```\r\n\r\nWow, that's better! \r\n\r\nThe code signing guide tells to try to build in Xcode to find that kind of error. It works in most case but in my case I change some of the environment in the gym command so I couldn't reproduce in Xcode itself. \r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): fastlane 1.105.0\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? no\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? rbenv \r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/251994473","html_url":"https://github.com/fastlane/fastlane/issues/6431#issuecomment-251994473","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6431","id":251994473,"user":{"login":"gcamp","id":129745,"avatar_url":"https://avatars.githubusercontent.com/u/129745?v=3","gravatar_id":"","url":"https://api.github.com/users/gcamp","html_url":"https://github.com/gcamp","followers_url":"https://api.github.com/users/gcamp/followers","following_url":"https://api.github.com/users/gcamp/following{/other_user}","gists_url":"https://api.github.com/users/gcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/gcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcamp/subscriptions","organizations_url":"https://api.github.com/users/gcamp/orgs","repos_url":"https://api.github.com/users/gcamp/repos","events_url":"https://api.github.com/users/gcamp/events{/privacy}","received_events_url":"https://api.github.com/users/gcamp/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T15:17:33Z","updated_at":"2016-10-06T15:17:33Z","body":"Yep, it was! \r\n\r\nActually thinking more about this, maybe this should be a xcpretty issue?"}}
{"actor":{"display_login":"gcamp"}}