# Archive failed, error: exit status 65 xcode-archive (exit code: 1)

**URL:** <https://discuss.bitrise.io/t/archive-failed-error-exit-status-65-xcode-archive-exit-code-1/11210>\
**Category:** Builds\
**Created:** [December 4, 2019, 8:52am UTC](https://discuss.bitrise.io/t/archive-failed-error-exit-status-65-xcode-archive-exit-code-1/11210 "2019-12-04T08:52:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anis.m](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@anis.m](https://discuss.bitrise.io/u/anis.m)\
**Post date:** [December 4, 2019, 8:52am UTC](https://discuss.bitrise.io/t/archive-failed-error-exit-status-65-xcode-archive-exit-code-1/11210/1 "2019-12-04T08:52:48Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

_Please describe the issue here_  
Everything works fine except when it start archive.  
I don’t know what’s causing that issue.

## Environment:

**Where did the issue happen?**

> **[Continuous Integration and Delivery (CI/CD) Platform | Bitrise](https://bitrise.io)**
>
> Streamline your mobile development process with Bitrise. The Mobile DevOps platform that helps you build, test, and deploy your apps quickly and reliably.

**Which build Step causes the issue and which version of the step?**

E.g.: Git Clone v3.6.0

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : YES/NO
- _Does the issue happen sporadically, or every time?_ : YES
- _Does upgrading the build Step to the latest version help?_ :NO
- _When did the issue start?_ :

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [Bitrise CLI](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [Running your build locally in Docker](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

## Build log

> **[Log in - Bitrise](https://app.bitrise.io/users/sign_in)**
>
> Bringing back the joy of iOS & Android development through automating build, testing and support cycles.

The following build commands failed:  
CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/alldaydr-dbtflsjfqzjqdkgaakbgjglwkwma/Build/Intermediates.noindex/ArchiveIntermediates/ADDDebug/IntermediateBuildFilesPath/Pods.build/DevelopmentRelease-iphoneos/CENChatEngine.build/Objects-normal/armv7/CENConfiguration.o /Users/vagrant/git/alldaydr/Pods/CENChatEngine/ChatEngine/Data/CENConfiguration.m normal armv7 objective-c com.apple.compilers.llvm.clang.1\_0.compiler  
(1 failure)  
e[33;1mYou can find the last couple of lines of Xcode’s build log above, but the full log is also available in the raw-xcodebuild-output.log  
The log file is stored in $BITRISE\_DEPLOY\_DIR, and its full path is available in the $BITRISE\_XCODE\_RAW\_RESULT\_TEXT\_PATH environment variable  
(value: /Users/vagrant/deploy/raw-xcodebuild-output.log)e[0m  
e[31;1mArchive failed, error: exit status 65e[0m  
| |  
±–±--------------------------------------------------------------±---------+  
| e[31;1mxe[0m | e[31;1mxcode-archive (exit code: 1)e[0m | 10.7 min |  
±–±--------------------------------------------------------------±---------+  
| Issue tracker: [GitHub · Where software is built](https://github.com/bitrise-steplib/steps-xcode-archive/issues) |  
| Source: [GitHub - bitrise-steplib/steps-xcode-archive: Xcode Archive for iOS step](https://github.com/bitrise-steplib/steps-xcode-archive) |  
±–±--------------------------------------------------------------±---------+

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [December 18, 2019, 10:52am UTC](https://discuss.bitrise.io/t/archive-failed-error-exit-status-65-xcode-archive-exit-code-1/11210/2 "2019-12-18T10:52:40Z")

</div>

Hi @anis.m!

Sorry to hear about the issue! We’d need support access to investigate it, please let us know if and when you can provide 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:** [January 17, 2020, 10:52am UTC](https://discuss.bitrise.io/t/archive-failed-error-exit-status-65-xcode-archive-exit-code-1/11210/3 "2020-01-17T10:52:41Z")

</div>

Closed on January 17, 2020, 10:52am UTC

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