# Bitrise-ios-archive-failed-phasescriptexecution

**URL:** https://discuss.bitrise.io/t/bitrise-ios-archive-failed-phasescriptexecution/20132
**Category:** Question & Answer
**Tags:** step, ios, xcode
**Created:** [May 17, 2022, 10:53am UTC](https://discuss.bitrise.io/t/bitrise-ios-archive-failed-phasescriptexecution/20132 "2022-05-17T10:53:33Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![callsandy](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@callsandy](https://discuss.bitrise.io/u/callsandy)
#### Post date: [May 17, 2022, 10:53am UTC](https://discuss.bitrise.io/t/bitrise-ios-archive-failed-phasescriptexecution/20132/1 "2022-05-17T10:53:33Z")

</div>

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

❌ 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?

---

_[View the full topic](https://discuss.bitrise.io/t/bitrise-ios-archive-failed-phasescriptexecution/20132)._
