简体   繁体   English

反应原生 - Codemagic ios 构建未能发布

[英]React native - Codemagic ios build failed to publish

Expected: I need to upload an ipa to app store in flightmode.预期:我需要在飞行模式下将 ipa 上传到应用商店。

Facing: Below is the response in build ios section(coademagic.yaml response) -面对:以下是build ios部分中的响应(coademagic.yaml 响应)-

Successfully created archive at build/ios/xcarchive/Projname_6don6ptw.xcarchive
Export build/ios/xcarchive/Projname_6don6ptw.xcarchive to build/ios/ipa
Execute "xcodebuild -exportArchive -archivePath build/ios/xcarchive/Projname_6don6ptw.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/Projname.ipa
Raw xcodebuild logs stored in /tmp/xcodebuild_logs/Projname_4fqjb9bq.log

And in publishing block of(codemagic.yaml):并在(codemagic.yaml)的publishing块中:

== Gathering artifacts ==

== Publishing artifacts ==

Publishing artifact AppReactNative_40_artifacts.zip
Skip publishing to App Store Connect: no IPAs found

Project ipa is created, but I don't understand why it's missing in artifact.zip file.项目 ipa 已创建,但我不明白为什么它在 artifact.zip 文件中丢失。

do you have the next lines in your codemagic.yaml file?您的 codemagic.yaml 文件中有下一行吗?

    artifacts:
      - build/ios/ipa/*.ipa

you can find a full example here https://docs.codemagic.io/getting-started/building-a-react-native-app/#ios-workflow-example你可以在这里找到一个完整的例子https://docs.codemagic.io/getting-started/building-a-react-native-app/#ios-workflow-example

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM