Unit tests pass in Xcode locally, failing in CircleCi build


#1

I’m getting build failures when our unit tests start running in CircleCI. They pass locally in Xcode just fine.

2017-01-31 11:09:44.472 xcodebuild[2188:7443] Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Early unexpected exit, operation never finished bootstrapping - no restart will be attempted” UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}

Testing failed:
Test target encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **

:x: fatal error: unexpectedly found nil while unwrapping an Optional value

Does anyone know what needs to be tweaked here? I’m thinking something in the circle.yml isn’t matching to our environments. Any help is much appreciated!


#2

Hello @MM83,

Could you reach out to support@circleci.com and we’ll help figure this out?

Best, Zak


#3