简体   繁体   中英

React native - Codemagic ios build failed to publish

Expected: I need to upload an ipa to app store in flightmode.

Facing: Below is the response in build ios section(coademagic.yaml response) -

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):

== 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.

do you have the next lines in your codemagic.yaml file?

    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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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