{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/3188","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/3188/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/3188/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/3188/events","html_url":"https://github.com/fastlane/fastlane/issues/3188","id":139149852,"number":3188,"title":"Build fails with IDEDistributionErrorDomain Code=1","user":{"login":"fastlanebot","id":17711343,"avatar_url":"https://avatars.githubusercontent.com/u/17711343?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlanebot","html_url":"https://github.com/fastlanebot","followers_url":"https://api.github.com/users/fastlanebot/followers","following_url":"https://api.github.com/users/fastlanebot/following{/other_user}","gists_url":"https://api.github.com/users/fastlanebot/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlanebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlanebot/subscriptions","organizations_url":"https://api.github.com/users/fastlanebot/orgs","repos_url":"https://api.github.com/users/fastlanebot/repos","events_url":"https://api.github.com/users/fastlanebot/events{/privacy}","received_events_url":"https://api.github.com/users/fastlanebot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/gym","name":"gym","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-09-23T02:21:55Z","updated_at":"2016-04-05T16:12:45Z","closed_at":"2016-02-10T20:41:06Z","body":"<table>\n      <tr>\n        <td>\n          <img src='https://avatars0.githubusercontent.com/u/577325?v=3&s=70' width='35'>\n        </td>\n        <td>\n          Original issue by @drpancake - Imported from <a href='https://github.com/fastlane/gym/issues/100'>fastlane/gym#100</a>\n        </td>\n      </tr>\n    </table>\n\nHello,\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/fastlane/issues/comments/205876772","html_url":"https://github.com/fastlane/fastlane/issues/3188#issuecomment-205876772","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/3188","id":205876772,"user":{"login":"agilemation","id":14239529,"avatar_url":"https://avatars.githubusercontent.com/u/14239529?v=3","gravatar_id":"","url":"https://api.github.com/users/agilemation","html_url":"https://github.com/agilemation","followers_url":"https://api.github.com/users/agilemation/followers","following_url":"https://api.github.com/users/agilemation/following{/other_user}","gists_url":"https://api.github.com/users/agilemation/gists{/gist_id}","starred_url":"https://api.github.com/users/agilemation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilemation/subscriptions","organizations_url":"https://api.github.com/users/agilemation/orgs","repos_url":"https://api.github.com/users/agilemation/repos","events_url":"https://api.github.com/users/agilemation/events{/privacy}","received_events_url":"https://api.github.com/users/agilemation/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T16:12:45Z","updated_at":"2016-04-05T16:12:45Z","body":"Same here!  Exactly the same error on a normal run, but with your use_legacy_build_api: true it works just fine.  (Although seem to get a load more warnings) :-)  Is there anything I can do to help with the resolution of this?  Personally I originally ran match with a different app ID/bundle ID and then re-ran with the one we use when gym identified that I needed that.  Could this be caused by having two development provisioning profiles in the gym repo with different App ID's?"}}