Xcode Server Bot集成无法导出存档:错误域= IDEDistributionErrorDomain代码= 1“操作无法完成。”

时间:2016-02-17 08:06:32

标签: continuous-integration xcode-bots xcode-server

2016-02-17 13:54:56.823 xcodebuild[26605:1155454] [MT] IDEBuildOperationQueueSetResourceManagement: Resetting max operation count to 6
    ** ARCHIVE SUCCEEDED **

     $ /usr/bin/xcrun xcodebuild -exportArchive -archivePath /Library/Developer/XcodeServer/Integrations/Integration-5041ec1e03066c77e1e1af601c03e78a/CardApp.xcarchive
-exportPath /Library/Developer/XcodeServer/Integrations/Integration-5041ec1e03066c77e1e1af601c03e78a/ExportedProduct
-exportOptionsPlist /Library/Developer/XcodeServer/Integrations/Integration-5041ec1e03066c77e1e1af601c03e78a/ExportOptions.plist
-IDEPostProgressNotifications=YES -DVTAllowServerCertificates=YES -DVTSigningCertificateSourceLogLevel=3 -DVTSigningCertificateManagerLogLevel=3 -DTDKProvisioningProfileExtraSearchPaths=/Library/Developer/XcodeServer/ProvisioningProfiles
-configuration pre
     2016-02-17 13:54:57.249 xcodebuild[30225:1159538] [MT] IDEDistribution: -[IDEDistributionLogging
_createLoggingBundleAtPath:]: Created bundle at path '/var/folders/9h/ly8w3wnd6cn0t3y6kdhpnmtm000087/T/product_2016-02-17_13-54-57.249.xcdistributionlogs'.
    2016-02-17 13:54:57.265 xcodebuild[30225:1159540]  DVTSigningCertificateSource: Searching for signing identities in default keychain search list
    2016-02-17 13:54:57.287 xcodebuild[30225:1159540]  DVTSigningCertificateSource: Searching for signing identities in default keychain search list
    2016-02-17 13:54:57.318 xcodebuild[30225:1159540]  DVTSigningCertificateManager: __45-[DVTSigningCertificateManager forceFullSync]_block_invoke (0x7f8d42d4b4d0): Signing certificates = {(
        <DVTSigningCertificate: 0x7f8d42d52780; name='Mac Developer: OS X Server (XTP8DLJK38)', hash='504739CF310993D382EAC18B5FD6685F0EAED3E4', certificateKind='1.2.840.113635.100.6.1.12'>,
        <DVTSigningCertificate: 0x7f8d42d56ae0; name='iPhone Distribution: ***** Technology Co., Ltd. (KRQB3E5X27)', hash='C9D117064592B47FC805F05BE614EBF13DD4BCEE', certificateKind='1.2.840.113635.100.6.1.4'>,
        <DVTSigningCertificate: 0x7f8d42d5d9b0; name='iPhone Distribution: ***** Technology Co., Ltd.', hash='EE6AA59130285A6EF43F8BA29105571E7DE163B8', certificateKind='1.2.840.113635.100.6.1.4'>,
        <DVTSigningCertificate: 0x7f8d42d35b00; name='iPhone Developer: OS X Server (XTP8DLJK38)', hash='26D2BD0EB5741641B17A421FFB9EF6E33939A60D', certificateKind='1.2.840.113635.100.6.1.2'>,
        <DVTSigningCertificate: 0x7f8d42d5c670; name='Mac Developer: OS X Server (XTP8DLJK38)', hash='5028DB9F8F3740759C617188CEDD21890AAE10DF', certificateKind='1.2.840.113635.100.6.1.12'>,
        <DVTSigningCertificate: 0x7f8d42d59b90; name='iPhone Developer: OS X Server (XTP8DLJK38)', hash='7B76A1ABB3252977545BBFEA1A727CC80A53DCD0', certificateKind='1.2.840.113635.100.6.1.2'>,
        <DVTSigningCertificate: 0x7f8d42d56440; name='iPhone Distribution: ***** Technology Co., Ltd. (KRQB3E5X27)', hash='6C8E09899766E94DC872E9EAB77ED554F366549C', certificateKind='1.2.840.113635.100.6.1.4'>
    )},

     Signing Identity Certificates = {(
        <DVTSigningCertificate: 0x7f8d42d52780; name='Mac Developer: OS X Server (XTP8DLJK38)', hash='504739CF310993D382EAC18B5FD6685F0EAED3E4', certificateKind='1.2.840.113635.100.6.1.12'>,
        <DVTSigningCertificate: 0x7f8d42d56440; name='iPhone Distribution: ***** Technology Co., Ltd. (KRQB3E5X27)', hash='6C8E09899766E94DC872E9EAB77ED554F366549C', certificateKind='1.2.840.113635.100.6.1.4'>,
        <DVTSigningCertificate: 0x7f8d42d5d9b0; name='iPhone Distribution: ***** Technology Co., Ltd.', hash='EE6AA59130285A6EF43F8BA29105571E7DE163B8', certificateKind='1.2.840.113635.100.6.1.4'>,
        <DVTSigningCertificate: 0x7f8d42d35b00; name='iPhone Developer: OS X Server (XTP8DLJK38)', hash='26D2BD0EB5741641B17A421FFB9EF6E33939A60D', certificateKind='1.2.840.113635.100.6.1.2'>,
        <DVTSigningCertificate: 0x7f8d42d5c670; name='Mac Developer: OS X Server (XTP8DLJK38)', hash='5028DB9F8F3740759C617188CEDD21890AAE10DF', certificateKind='1.2.840.113635.100.6.1.12'>,
        <DVTSigningCertificate: 0x7f8d42d59b90; name='iPhone Developer: OS X Server (XTP8DLJK38)', hash='7B76A1ABB3252977545BBFEA1A727CC80A53DCD0', certificateKind='1.2.840.113635.100.6.1.2'>,
        <DVTSigningCertificate: 0x7f8d42d56ae0; name='iPhone Distribution: ***** Technology Co., Ltd. (KRQB3E5X27)', hash='C9D117064592B47FC805F05BE614EBF13DD4BCEE', certificateKind='1.2.840.113635.100.6.1.4'>
    )}

2016-02-17 13:54:57.708 xcodebuild[30225:1159538] [MT] IDEDistribution:  Step failed: <IDEDistributionSigningAssetsStep: 0x7f8d42c7e060>: 

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 **


===========================

直到几天前一直在工作。没有任何东西被修改过。然而出口失败了!我没有想法。

1 个答案:

答案 0 :(得分:3)

当Keychain Access应用程序中的系统密钥链和登录密钥链中都存在过期的WWDR中间证书时,会出现此问题。要解决此问题,请先下载并安装renewed certificate。接下来,在Keychain Access应用程序中,选择System keychain。在“查看”菜单中选择“显示过期的证书”,然后删除Apple全球开发者关系证书颁发机构中级证书的过期版本。您的证书现在应该在Keychain Access中显示为有效并且可用于Xcode