Exit 65 - Code Signing?

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?