fastlane: Build fails with IDEDistributionErrorDomain Code=1
|
|
Original issue by @drpancake - Imported from fastlane/gym#100 |
Hello,
Google 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:
[09:16:52]: Successfully stored the archive. You can find it in the Xcode Organizer.
[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'
2015-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'.
2015-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.)"
error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 1.)
Error Domain=IDEDistributionErrorDomain Code=1 "The operation couldn’t be completed. (IDEDistributionErrorDomain error 1.)"
** EXPORT FAILED **
[09:16:53]: Exit status: 70
/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)
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/runner.rb:102:in `block in package_app'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.17.1/lib/fastlane_core/command_executor.rb:51:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.17.1/lib/fastlane_core/command_executor.rb:51:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/runner.rb:98:in `package_app'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/runner.rb:16:in `run'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/manager.rb:8:in `work'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/commands_generator.rb:41:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/commands_generator.rb:58:in `run'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/lib/gym/commands_generator.rb:14:in `start'
from /Library/Ruby/Gems/2.0.0/gems/gym-0.7.3/bin/gym:6:in `<top (required)>'
from /usr/bin/gym:23:in `load'
from /usr/bin/gym:23:in `<main>'
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 43 (1 by maintainers)
@TKBurner failure:
Success using
use_legacy_build_apiHaving the same issue here. I also cannot delete the certificate, but the installed one on my machine is valid until feb. 7, 2023, so this should not be reason for the error. I also had to add use_legacy_build_api: true, that worked
in my case this was triggerd by an outdated WWDR certificate (expired on 14/02/16), wich invalidated all my distribution certificates.
download the wwdr https://www.apple.com/certificateauthority/ (here: https://developer.apple.com/certificationauthority/AppleWWDRCA.cer)
double-click/install it and the see if your distribution certs are valid again!
@KrauseFx - maybe checking the certs against the wwdr in match would be a cool thing?