iOS build fails in codemagic but archive successful in Xcode #3079
Replies: 1 comment
-
Hello @Chandra-Revscale, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
React Native
Steps to reproduce
updated codemagic.yaml file, Podfile. build in codemagic fails but archive successful if manually built in Xcode
Expected results
archive successful
Actual results
error -
Failed to archive /Users/builder/clone/ios/Revscale.xcworkspace. The following build commands failed:
PhaseScriptExecution [CP-User]\ [Hermes]\ Replace\ Hermes\ for\ the\ right\ configuration,\ if\ needed /Users/builder/Library/Developer/Xcode/DerivedData/Revscale-epwtjoagurwzlbdkgiaoeutlziio/Build/Intermediates.noindex/ArchiveIntermediates/RevscaleStaging/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/hermes-engine.build/Script-46EB2E0002E3C0.sh (in target 'hermes-engine' from project 'Pods')
...
warning: Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Intercom' from project 'Pods')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Revscale' from project 'Revscale')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Revscale' from project 'Revscale')
warning: Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Revscale' from project 'Revscale')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Pods-Revscale' from project 'Pods')
Build failed :|
Step 11 script
Build ipa for distribution
exited with status code 65Build id (optional)
680f7ccf4c8496e69b4467b3
Beta Was this translation helpful? Give feedback.
All reactions