# Exit 65 - Code Signing?

**URL:** <https://discuss.circleci.com/t/exit-65-code-signing/9936>\
**Category:** Bug Reports\
**Tags:** exit-code-65\
**Created:** [January 27, 2017, 6:59pm UTC](https://discuss.circleci.com/t/exit-65-code-signing/9936 "2017-01-27T18:59:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![szweier](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/szweier/32/219_2.png) [@szweier](https://discuss.circleci.com/u/szweier)\
**Post date:** [January 27, 2017, 6:59pm UTC](https://discuss.circleci.com/t/exit-65-code-signing/9936/1 "2017-01-27T18:59:10Z")

</div>

I’ve gone through and adjusted the code to use instruments to force open simulators. I’ve added code to sleep 30 and give it time to launch the app. The end result was less exit 65’s however the ones that remain appear at random but always seem to be around the Signing of the xctests.

The last line printed is below.

```
Signing Identity: "-"

    /usr/bin/codesign --force --sign - --timestamp=none /Users/distiller/Library/Developer/Xcode/DerivedData/percolate-drcnfgoyjapbvcdmqytnjsanjkuo/Build/Intermediates/CodeCoverage/Products/Debug-iphonesimulator/Test.app/PlugIns/tests.xctest

```

the command being run is

`xcodebuild -verbose CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= -enableCodeCoverage YES -destination $DESTINATION -workspace $XCODE_WORKSPACE -scheme $SCHEME test`

Has anyone found a solution for this? Is it a keychain issue or other?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:34am UTC](https://discuss.circleci.com/t/exit-65-code-signing/9936/2 "2018-06-18T11:34:34Z")

</div>


