{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/issues/74","labels_url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/issues/74/comments","events_url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/issues/74/events","html_url":"https://github.com/CocoaPods/cocoapods-packager/pull/74","id":67208082,"number":74,"title":"Catch build errors during `pod package`.","user":{"login":"michaelmelanson","id":1318,"avatar_url":"https://avatars.githubusercontent.com/u/1318?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelmelanson","html_url":"https://github.com/michaelmelanson","followers_url":"https://api.github.com/users/michaelmelanson/followers","following_url":"https://api.github.com/users/michaelmelanson/following{/other_user}","gists_url":"https://api.github.com/users/michaelmelanson/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelmelanson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelmelanson/subscriptions","organizations_url":"https://api.github.com/users/michaelmelanson/orgs","repos_url":"https://api.github.com/users/michaelmelanson/repos","events_url":"https://api.github.com/users/michaelmelanson/events{/privacy}","received_events_url":"https://api.github.com/users/michaelmelanson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-08T20:05:56Z","updated_at":"2015-04-09T14:27:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/pulls/74","html_url":"https://github.com/CocoaPods/cocoapods-packager/pull/74","diff_url":"https://github.com/CocoaPods/cocoapods-packager/pull/74.diff","patch_url":"https://github.com/CocoaPods/cocoapods-packager/pull/74.patch"},"body":"This pull request fixes #47 by throwing an exception when `xcodebuild` commands fail.\r\n\r\nThere's no automated tests accompanying this, but the surrounding code is also untested. I'm open to suggestions about the best way to approach adding tests."},"comment":{"url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/issues/comments/91247714","html_url":"https://github.com/CocoaPods/cocoapods-packager/pull/74#issuecomment-91247714","issue_url":"https://api.github.com/repos/CocoaPods/cocoapods-packager/issues/74","id":91247714,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T14:27:35Z","updated_at":"2015-04-09T14:27:35Z","body":"As for testing this, adding a fixture spec with refers a file with a syntax error should allow us to trigger the error and then we could compare the output against known good one. `Process.exit` should be stubbed out."}}