Logic tests do not run with iOS 8.4 simulator and Xcode 8.0

Originator:patrick.hartling
Number:rdar://28225574 Date Originated:09-Sep-2016 09:57 AM
Status:Duplicate Resolved:
Product:Xcode Product Version:8.0 (8A218a)
Classification: Reproducible:Always
 
Duplicate of 28221897

Summary:
When trying to launch logic tests from Xcode 8.0 GM Seed for execution with the iOS 8.4 simulator, xctest appears to hang for about two minutes before being terminated by Xcode. The Xcode console shows this:

* thread #1: tid = 0xa23e, 0x000000010d5b0f72 libsystem_kernel.dylib`mach_msg_trap + 10, stop reason = signal SIGSTOP
  * frame #0: 0x000000010d5b0f72 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x000000010d5b03b3 libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x000000010b00c624 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x000000010b00bad7 CoreFoundation`__CFRunLoopRun + 1287
    frame #4: 0x000000010b00b366 CoreFoundation`CFRunLoopRunSpecific + 470
    frame #5: 0x000000010a931f92 Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 275
    frame #6: 0x000000010a7d0785 XCTest`-[XCTestDriver _checkForTestManager] + 258
    frame #7: 0x000000010a81ff5c XCTest`_XCTestMain + 628
    frame #8: 0x000000010a759922 xctest`___lldb_unnamed_symbol3$$xctest + 362
    frame #9: 0x000000010d2ae145 libdyld.dylib`start + 1
    frame #10: 0x000000010d2ae145 libdyld.dylib`start + 1

  thread #2: tid = 0xa259, 0x000000010d5b7ee2 libsystem_kernel.dylib`kevent64 + 10
    frame #0: 0x000000010d5b7ee2 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x000000010d26efef libdispatch.dylib`_dispatch_mgr_invoke + 247
    frame #2: 0x000000010d26ed94 libdispatch.dylib`_dispatch_mgr_thread + 54

  thread #3: tid = 0xa25a, 0x000000010d5b75e2 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x000000010d5b75e2 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x000000010d5e8578 libsystem_pthread.dylib`_pthread_wqthread + 1283
    frame #2: 0x000000010d5e6341 libsystem_pthread.dylib`start_wqthread + 13

  thread #4: tid = 0xa25b, 0x000000010d5b75e2 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x000000010d5b75e2 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x000000010d5e8578 libsystem_pthread.dylib`_pthread_wqthread + 1283
    frame #2: 0x000000010d5e6341 libsystem_pthread.dylib`start_wqthread + 13


*** If you believe this error represents a bug, please attach the log file at /.../Library/Developer/Xcode/DerivedData/MyFramework-fqqupyljlrfugubhwmqhwqmxxllx/Logs/Test/6C7E57DB-E96F-41C6-946D-4065E3A27C08/Session-MyFrameworkTests-2016-09-09_094752-6VxHle.log

Program ended with exit code: 9

Steps to Reproduce:
1. Load the attached project in Xcode 8
2. Set the scheme platform to some iOS 8.4 simulator
3. Use ⌘U to run the logic tests

Expected Results:
It is expected that the test suite will run to completion if the iOS 8.4 simulator is supposed to work with Xcode 8.0.

Actual Results:
xctest appears to hang until Xcode kills the process.

Version:
Xcode Version 8.0 (8A218a)
OS X 10.11.6 (15G1004)

Notes:
iOS applications appear to work correctly in the iOS 8.4 simulator when built and launched with Xcode 8.0.

Configuration:
This happens with the Xcode 8.0 GM seed running on El Capitan or the macOS Sierra GM seed.

Attachments:
'MyFramework.zip' and 'Session-MyFrameworkTests-2016-09-09_094752-6VxHle.log' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!