1

在构建整个应用程序后,我使用 Codemagic 构建失败,错误代码为 -22020。

 Successfully created archive at build/ios/xcarchive/Runner_4myti30z.xcarchive
Export build/ios/xcarchive/Runner_4myti30z.xcarchive to build/ios/ipa
Execute "xcodebuild -exportArchive -archivePath build/ios/xcarchive/Runner_4myti30z.xcarchive -exportPath build/ios/ipa -exportOptionsPlist /Users/builder/export_options.plist COMPILER_INDEX_STORE_ENABLE=NO"


▸ Export Succeeded

Successfully exported ipa to build/ios/ipa/Runner.ipa
Raw xcodebuild logs stored in /tmp/xcodebuild_logs/Runner_x1541cb8.log

然后在发布部分它最后给我一个错误

== Gathering artifacts ==


== Publishing artifacts ==

[skipped]

Publishing Runner.ipa to App Store Connect

/usr/bin/xcrun altool --validate-app -f /Users/builder/clone/build/ios/ipa/Runner.ipa -t ios -u *********@hotmail.com -p @env:APP_STORE_CONNECT_PASSWORD --output-format normal

    2020-09-01 08:48:58.794 altool[31554:179398] *** Error: Unable to validate archive '/Users/builder/clone/build/ios/ipa/Runner.ipa'.
    2020-09-01 08:48:58.794 altool[31554:179398] *** Error: code -22020 (Unable to validate your application. We are unable to create an authentication session.)



Failed to publish to App Store Connect


Build failed :|


Publishing failed :|
Failed to publish to App Store Connect
4

1 回答 1

1
于 2020-09-10T07:46:02.653 回答