Ошибка файла ipa экспорта сигнатур реагирования на родную подпись iOS: данные не могут быть прочитаны, так как они имеют неправильный формат. xcode9, журнал ошибок:

Знак xcode9, ошибка экспорта файла ipa: данные не могут быть прочитаны, потому что они не в правильном формате, данные не могут быть прочитаны, потому что они не в правильном формате, почему? журналы ошибок: IDEDistribution.standard.log:

2018-02-09 01:53:02 +0000 [MT] Beginning distribution assistant for archive: wepilotrelase, task: Export
    2018-02-09 01:53:04 +0000 [MT] Proceeding to distribution step IDEDistributionAnalyzeArchiveStepViewController, context: <IDEDistributionContext: 0x7fccfb2d7de0; archive(resolved)='<IDEArchive: 0x7fcd15b15e90>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team(resolved)='(null)'>
        Chain (3, self inclusive):
        <IDEDistributionContext: 0x7fccfb2d7de0; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='(null)'>
        <IDEDistributionContext: 0x7fcd12fe94f0; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='(null)'>
        <IDEDistributionContext: 0x7fccfb62e080; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='(null)', team='(null)'>
    </IDEDistributionContext: 0x7fccfb2d7de0>
    2018-02-09 01:53:04 +0000  Found team <IDEProvisioningBasicTeam 0x7fcd15aec320: teamID: 7PEH5UAQ6Q, teamName: Wepilot Inc.> in archive signature
    2018-02-09 01:53:04 +0000  Found signing style 0 in archive signature
    2018-02-09 01:53:06 +0000 [MT] Proceeding to distribution step IDEDistributionOptionsStepViewController, context: <IDEDistributionContext: 0x7fcd15bd7350; archive(resolved)='<IDEArchive: 0x7fcd15b15e90>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team(resolved)='<IDEProvisioningBasicTeam 0x7fcd15aec320: teamID: 7PEH5UAQ6Q, teamName: Wepilot Inc.>'>
        Chain (5, self inclusive):
        <IDEDistributionContext: 0x7fcd15bd7350; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='<IDEProvisioningBasicTeam 0x7fcd15aec320: teamID: 7PEH5UAQ6Q, teamName: Wepilot Inc.>'>
        <IDEDistributionContext: 0x7fccfca3ec70; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='<IDEProvisioningBasicTeam 0x7fcd15aec320: teamID: 7PEH5UAQ6Q, teamName: Wepilot Inc.>'>
        <IDEDistributionContext: 0x7fccfb2d7de0; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='<IDEProvisioningBasicTeam 0x7fcd15aec320: teamID: 7PEH5UAQ6Q, teamName: Wepilot Inc.>'>
        <IDEDistributionContext: 0x7fcd12fe94f0; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='(null)'>
        <IDEDistributionContext: 0x7fccfb62e080; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='(null)', team='(null)'>
    </IDEDistributionContext: 0x7fcd15bd7350>
    2018-02-09 01:53:06 +0000  Running /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool '/var/folders/05/q44hlzbx3c917jnb4dsj2lh00000gn/T/IDEDistributionOptionThinning.RIE' '--json' '/var/folders/05/q44hlzbx3c917jnb4dsj2lh00000gn/T/ipatool-json-filepath-HjI4QV' '--info' '--toolchain' '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr' '--platforms' '/Applications/Xcode.app/Contents/Developer/Platforms'
    2018-02-09 01:53:06 +0000  ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1593: warning: assigned but unused variable - minVersion
    /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1593: warning: assigned but unused variable - sdkVersion
    /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1602: warning: assigned but unused variable - sourceVersion
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1703: warning: shadowing outer local variable - node
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2470: warning: shadowing outer local variable - machoFile
    /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2470: warning: shadowing outer local variable - machoImage
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2497: warning: key :hasBitcode is duplicated and overwritten on line 2499
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2662: warning: assigned but unused variable - flag
    /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2662: warning: assigned but unused variable - transformer
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2912: warning: assigned but unused variable - exc
    2018-02-09 01:53:06 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:738: warning: assigned but unused variable - output
    2018-02-09 01:53:07 +0000  Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
    2018-02-09 01:53:07 +0000  Ignoring gem-wrappers-1.3.2 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.3.2
    2018-02-09 01:53:07 +0000  /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    2018-02-09 01:53:07 +0000  : cannot load such file -- sqlite3 (LoadError)
        from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:24:in `<main>'
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  2018-02-09 01:53:07 +0000  

    2018-02-09 01:53:07 +0000  
    2018-02-09 01:53:07 +0000  2018-02-09 01:53:07 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool exited with 1
    2018-02-09 01:53:07 +0000  

    2018-02-09 01:53:07 +0000  ipatool JSON: (null)
    2018-02-09 01:55:20 +0000 [MT] Canceled distribution assistant

person 张东生    schedule 09.02.2018    source источник
comment
вы можете запустить приложение на устройстве?,   -  person Sport    schedule 09.02.2018
comment
У меня аналогичная проблема, но я все еще не могу ее решить   -  person Rafat touqir Rafsun    schedule 15.02.2018
comment
В моем случае перезапуск XCode решил проблему. Не уверен, что это связано, я использую rvm и выполняю rvm use system перед перезапуском XCode.   -  person Satoshi    schedule 20.04.2018


Ответы (1)


Была точно такая же проблема. Комментарий Сатоши сработал для меня.

  • Выйти из Xcode
  • Откройте терминал и запустите rvm use system
  • Снова откройте Xcode и выполните сборку
person aarjithn    schedule 27.07.2018
comment
Я попробовал это, и он каким-то образом удалил мои Cocoapods, и поэтому я начал получать другие ошибки. Я также использую Xcode 10.1 - person Daniel; 13.09.2019
comment
Если вы используете chruby, chruby system тоже подойдет. - person Kamchatka; 16.11.2020