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

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.


Where did the issue happen?

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

E.g.: Git Clone v3.6.0


  • 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. : 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? 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 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 )? If no, can it be reproduced with Docker (using the same docker images / environment we use on Related guide: Redirecting… .

Build log

The following build commands failed:
CompileC /Users/vagrant/Library/Developer/Xcode/DerivedData/alldaydr-dbtflsjfqzjqdkgaakbgjglwkwma/Build/Intermediates.noindex/ArchiveIntermediates/ADDDebug/IntermediateBuildFilesPath/ /Users/vagrant/git/alldaydr/Pods/CENChatEngine/ChatEngine/Data/CENConfiguration.m normal armv7 objective-c
(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: Issues · bitrise-steplib/steps-xcode-archive · GitHub |
| Source: GitHub - bitrise-steplib/steps-xcode-archive: Xcode Archive for iOS step |

1 Like

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!

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