{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/11488","labels_url":"https://api.github.com/repos/golang/go/issues/11488/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/11488/comments","events_url":"https://api.github.com/repos/golang/go/issues/11488/events","html_url":"https://github.com/golang/go/issues/11488","id":92188226,"number":11488,"title":"x/mobile/cmd/gomobile: unclear error when codesigning fails","user":{"login":"joeshaw","id":39916,"avatar_url":"https://avatars.githubusercontent.com/u/39916?v=3","gravatar_id":"","url":"https://api.github.com/users/joeshaw","html_url":"https://github.com/joeshaw","followers_url":"https://api.github.com/users/joeshaw/followers","following_url":"https://api.github.com/users/joeshaw/following{/other_user}","gists_url":"https://api.github.com/users/joeshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/joeshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeshaw/subscriptions","organizations_url":"https://api.github.com/users/joeshaw/orgs","repos_url":"https://api.github.com/users/joeshaw/repos","events_url":"https://api.github.com/users/joeshaw/events{/privacy}","received_events_url":"https://api.github.com/users/joeshaw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"rakyll","id":108380,"avatar_url":"https://avatars.githubusercontent.com/u/108380?v=3","gravatar_id":"","url":"https://api.github.com/users/rakyll","html_url":"https://github.com/rakyll","followers_url":"https://api.github.com/users/rakyll/followers","following_url":"https://api.github.com/users/rakyll/following{/other_user}","gists_url":"https://api.github.com/users/rakyll/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyll/subscriptions","organizations_url":"https://api.github.com/users/rakyll/orgs","repos_url":"https://api.github.com/users/rakyll/repos","events_url":"https://api.github.com/users/rakyll/events{/privacy}","received_events_url":"https://api.github.com/users/rakyll/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/2","html_url":"https://github.com/golang/go/milestones/Go1.5Maybe","labels_url":"https://api.github.com/repos/golang/go/milestones/2/labels","id":905114,"number":2,"title":"Go1.5Maybe","description":"Things that might make Go 1.5, but aren't critical.\r\n","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":99,"closed_issues":28,"state":"open","created_at":"2014-12-16T02:39:13Z","updated_at":"2015-07-11T18:27:09Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-30T20:11:17Z","updated_at":"2015-07-11T18:27:09Z","closed_at":"2015-07-11T18:27:09Z","body":"`x/mobile` rev https://github.com/golang/mobile/commit/3522bcc2e04b6c166dae25e7430ee02aa1770608, go tip: `go version devel +117ddcb Tue Jun 30 17:59:02 2015 +0000 darwin/amd64`\r\n\r\nRunning `gomobild build -target=ios golang.org/x/mobile/example/basic` failed for me:\r\n\r\n```\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tCheck dependencies\r\n(1 failure)\r\ngomobile: exit status 65\r\n```\r\n\r\nUnfortunately that error output doesn't indicate the root cause of the build failure.\r\n\r\nRunning with `-x` shows that the command that failed was `xcrun xcodebuild -configuration Release -project /var/folders/69/cstplpp51jz6f9_5m_m__3gh0000gq/T/xcodeproject167976650/main.xcodeproj`.  When I ran that by hand, the error message was a little more clear:\r\n\r\n```\r\n=== BUILD TARGET main OF PROJECT main WITH CONFIGURATION Release ===\r\n\r\nCheck dependencies\r\nCode Sign error: No matching provisioning profiles found: No provisioning profiles matching the bundle identifier “org.golang.todo.main” were found.\r\nCodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.3'\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tCheck dependencies\r\n(1 failure)\r\n```\r\n\r\nIt would be good if the output from `gomobile build` included the full output from `xcrun xcodebuild`."}}