预期:我需要在飞行模式下将ipa上传到应用商店。
饰面:以下是build ios
部分的响应(共demagic.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
并且在(codemagic.yaml(的publishing
块中:
== Gathering artifacts ==
== Publishing artifacts ==
Publishing artifact AppReactNative_40_artifacts.zip
Skip publishing to App Store Connect: no IPAs found
项目ipa已经创建,但我不明白为什么artifact.zip文件中缺少它。
您的codemagic.yaml文件中有下一行吗?
artifacts:
- build/ios/ipa/*.ipa
你可以在这里找到一个完整的例子https://docs.codemagic.io/getting-started/building-a-react-native-app/#ios-工作流程示例