3

预期:我需要在飞行模式下将 ipa 上传到应用商店。

面对:以下是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

publishing(codemagic.yaml)块中:

== Gathering artifacts ==

== Publishing artifacts ==

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

项目 ipa 已创建,但我不明白为什么它在 artifact.zip 文件中丢失。

4

1 回答 1

1

您的 codemagic.yaml 文件中有下一行吗?

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

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

于 2021-01-05T19:04:11.430 回答