{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/gym/issues/100","repository_url":"https://api.github.com/repos/fastlane/gym","labels_url":"https://api.github.com/repos/fastlane/gym/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/gym/issues/100/comments","events_url":"https://api.github.com/repos/fastlane/gym/issues/100/events","html_url":"https://github.com/fastlane/gym/issues/100","id":107838211,"number":100,"title":"Build fails with IDEDistributionErrorDomain Code=1","user":{"login":"drpancake","id":577325,"avatar_url":"https://avatars.githubusercontent.com/u/577325?v=3","gravatar_id":"","url":"https://api.github.com/users/drpancake","html_url":"https://github.com/drpancake","followers_url":"https://api.github.com/users/drpancake/followers","following_url":"https://api.github.com/users/drpancake/following{/other_user}","gists_url":"https://api.github.com/users/drpancake/gists{/gist_id}","starred_url":"https://api.github.com/users/drpancake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpancake/subscriptions","organizations_url":"https://api.github.com/users/drpancake/orgs","repos_url":"https://api.github.com/users/drpancake/repos","events_url":"https://api.github.com/users/drpancake/events{/privacy}","received_events_url":"https://api.github.com/users/drpancake/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/gym/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ohwutup","id":2587018,"avatar_url":"https://avatars.githubusercontent.com/u/2587018?v=3","gravatar_id":"","url":"https://api.github.com/users/ohwutup","html_url":"https://github.com/ohwutup","followers_url":"https://api.github.com/users/ohwutup/followers","following_url":"https://api.github.com/users/ohwutup/following{/other_user}","gists_url":"https://api.github.com/users/ohwutup/gists{/gist_id}","starred_url":"https://api.github.com/users/ohwutup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohwutup/subscriptions","organizations_url":"https://api.github.com/users/ohwutup/orgs","repos_url":"https://api.github.com/users/ohwutup/repos","events_url":"https://api.github.com/users/ohwutup/events{/privacy}","received_events_url":"https://api.github.com/users/ohwutup/received_events","type":"User","site_admin":false},"milestone":null,"comments":27,"created_at":"2015-09-23T02:21:55Z","updated_at":"2016-02-16T11:09:48Z","closed_at":"2016-02-10T20:41:06Z","body":"Hello,\r\n\r\nGoogle isn't turning up anything for this one and I can't seem to find any definitions for codes in `IDEDistributionErrorDomain`. I'm seeing the following error when I run `gym`:\r\n\r\n```\r\n[09:16:52]: Successfully stored the archive. You can find it in the Xcode Organizer.\r\n[09:16:52]: /usr/bin/xcrun xcodebuild -exportArchive -exportOptionsPlist '/tmp/gym_config_1442974612.plist' -archivePath '/Users/james/Library/Developer/Xcode/Archives/2015-09-23/SiphonBase 2015-09-23 09.16.00.xcarchive' -exportPath '/tmp/1442974612'\r\n2015-09-23 09:16:53.275 xcodebuild[7281:1574120] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/x5/_ydv1yb97r17pzpsk4h7vrzm0000gn/T/SiphonBase_2015-09-23_09-16-53.272.xcdistributionlogs'.\r\n2015-09-23 09:16:53.532 xcodebuild[7281:1574120] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7ffdcd5246f0>: Error Domain=IDEDistributionErrorDomain Code=1 \"The operation couldn’t be completed. (IDEDistributionErrorDomain error 1.)\"\r\nerror: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 1.)\r\n\r\nError Domain=IDEDistributionErrorDomain Code=1 \"The operation couldn’t be completed. (IDEDistributionErrorDomain error 1.)\"\r\n\r\n** EXPORT FAILED **\r\n[09:16:53]: Exit status: 70\r\n/Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/error_handler.rb:88:in `handle_package_error': Error packaging up the application (RuntimeError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/runner.rb:102:in `block in package_app'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.17.1/lib/fastlane_core/command_executor.rb:51:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.17.1/lib/fastlane_core/command_executor.rb:51:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/runner.rb:98:in `package_app'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/runner.rb:16:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/manager.rb:8:in `work'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/commands_generator.rb:41:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/commands_generator.rb:58:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/commands_generator.rb:14:in `start'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/bin/gym:6:in `<top (required)>'\r\n\tfrom /usr/bin/gym:23:in `load'\r\n\tfrom /usr/bin/gym:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/fastlane/gym/issues/comments/184633200","html_url":"https://github.com/fastlane/gym/issues/100#issuecomment-184633200","issue_url":"https://api.github.com/repos/fastlane/gym/issues/100","id":184633200,"user":{"login":"pesterhazy","id":106328,"avatar_url":"https://avatars.githubusercontent.com/u/106328?v=3","gravatar_id":"","url":"https://api.github.com/users/pesterhazy","html_url":"https://github.com/pesterhazy","followers_url":"https://api.github.com/users/pesterhazy/followers","following_url":"https://api.github.com/users/pesterhazy/following{/other_user}","gists_url":"https://api.github.com/users/pesterhazy/gists{/gist_id}","starred_url":"https://api.github.com/users/pesterhazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pesterhazy/subscriptions","organizations_url":"https://api.github.com/users/pesterhazy/orgs","repos_url":"https://api.github.com/users/pesterhazy/repos","events_url":"https://api.github.com/users/pesterhazy/events{/privacy}","received_events_url":"https://api.github.com/users/pesterhazy/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T11:09:48Z","updated_at":"2016-02-16T11:09:48Z","body":"I have no idea what triggered it, but something changed and broke the builds for our team. @izqui's fix worked for me.\r\n\r\nAny chance you could include this step (or at least a check that the certs are up to date, with a link to the github issue) in `gym`? "}}