Bitrise-ios-archive-failed-phasescriptexecution

Bitrise Build Issue Report template

Description of the issue

I received an error when I try to build iOS app with react-native

Issue happens when xCode is archiving the app

Build log

This the last part of the log when the issue occurred

======================================
Running script ‘Bundle React Native code and images’

the transform cache was reset.

:x: error: No such file or directory (os error 2)

** ARCHIVE FAILED **

The following build commands failed:

PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/vagrant/Library/Developer/Xcode/DerivedData/LifeMart-hibnjhwlldqyvrbnkjbkjxwogjzk/Build/Intermediates.noindex/ArchiveIntermediates/LifeMart_Dev/IntermediateBuildFilesPath/LifeMart.build/Release-iphoneos/LifeMart_Dev.build/Script-24171B7026244C9300E2DBA0.sh (in target ‘LifeMart_Dev’ from project ‘LifeMart’)

(1 failure)

You can find the last couple of lines of Xcode’s build log above, but the full log will be also available in the raw-xcodebuild-output.log

The log file will be stored in $BITRISE_DEPLOY_DIR, and its full path will be available in the $BITRISE_XCODE_RAW_RESULT_TEXT_PATH environment variable.

Do you know how I should fix it?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.