# 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:** 2
**Page:** 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?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)
#### Post date: [June 16, 2022, 10:53am UTC](https://discuss.bitrise.io/t/bitrise-ios-archive-failed-phasescriptexecution/20132/2 "2022-06-16T10:53:35Z")

</div>

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