# Cant run unit tests on swift 4.2, XCode 10

**URL:** <https://travis-ci.community/t/cant-run-unit-tests-on-swift-4-2-xcode-10/848>\
**Category:** macOS\
**Tags:** mac\
**Created:** [November 13, 2018, 8:17am UTC](https://travis-ci.community/t/cant-run-unit-tests-on-swift-4-2-xcode-10/848 "2018-11-13T08:17:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khalian](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Khalian](https://travis-ci.community/u/Khalian)\
**Post date:** [November 13, 2018, 8:17am UTC](https://travis-ci.community/t/cant-run-unit-tests-on-swift-4-2-xcode-10/848/1 "2018-11-13T08:17:05Z")

</div>

Error seen is ([https://travis-ci.org/goktugyil/EZSwiftExtensions/builds/454347728?utm\_source=github\_status&utm\_medium=notification](https://travis-ci.org/goktugyil/EZSwiftExtensions/builds/454347728?utm_source=github_status&utm_medium=notification))

Touching EZSwiftExtensionsTest.xctest (in target: EZSwiftExtensionsTests-tvOS)

2018-11-13 07:40:30.300 xcodebuild[20376:33770] [MT] IDETestOperationsObserverDebug: (0A7B4361-8B94-4CFE-A3D5-CA56B3E650AF) Beginning test session EZSwiftExtensionsTest-0A7B4361-8B94-4CFE-A3D5-CA56B3E650AF at 2018-11-13 07:40:30.300 with Xcode 10B61 on target \<DVTiPhoneSimulator: 0x7f89d73599b0\> {

SimDevice: Apple TV 1080p (6A5E7CD5-0C3D-486B-9DCF-84B7850285C1, tvOS 10.0, Shutdown)

} (10.0 (14T328))

2018-11-13 07:40:30.301 xcodebuild[20376:34449] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:

/Users/travis/Library/Developer/Xcode/DerivedData/EZSwiftExtensions-cknupuhyerhvhtfuqvigkfkoxukr/Logs/Test/Run-EZSwiftExtensions-tvOS-2018.11.13\_07-40-07-+0000.xcresult/3\_Test/Diagnostics/EZSwiftExtensionsTest-38C78983-BC9F-44CD-8C0D-19E259BE74FB/EZSwiftExtensionsTest-1A1D803C-CCA5-4D3B-8F9E-EDB0BEDFB56F/Session-EZSwiftExtensionsTest-2018-11-13\_074030-Vsd5Ji.log

2018-11-13 07:40:41.622 xcodebuild[20376:34449] Connection peer refused channel request for “dtxproxy:XCTestManager\_IDEInterface:XCTestManager\_DaemonConnectionInterface”; channel canceled \<DTXChannel: 0x7f89d75f2530\>

2018-11-13 07:40:41.624 xcodebuild[20376:33770] [MT] IDETestOperationsObserverDebug: 11.335 elapsed – Testing started completed.

2018-11-13 07:40:41.624 xcodebuild[20376:33770] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start

2018-11-13 07:40:41.624 xcodebuild[20376:33770] [MT] IDETestOperationsObserverDebug: 11.335 sec, +11.335 sec – end

2018-11-13 07:40:41.625 xcodebuild[20376:33770] Error Domain=IDETestOperationsObserverErrorDomain Code=6 “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, NSUnderlyingError=0x7f89d7148700 {Error Domain=IDETestOperationsObserverErrorDomain Code=5 “Test runner exited before starting test execution.” UserInfo={NSLocalizedDescription=Test runner exited before starting test execution., NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /Users/travis/Library/Developer/Xcode/DerivedData/EZSwiftExtensions-cknupuhyerhvhtfuqvigkfkoxukr/Logs/Test/Run-EZSwiftExtensions-tvOS-2018.11.13\_07-40-07-+0000.xcresult}}}

Testing failed:

xctest (20536) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying error: Test runner exited before starting test execution.))

\*\* TEST FAILED \*\*
