XCTest broken on iOS 8.x with Xcode 9.3 and Xcode 9.4 beta

Originator:adigitalknight
Number:rdar://39335367 Date Originated:April 11 2018, 10:42 AM
Status:DUPLICATE OF 38090603 (CLOSED) Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
Run any unit tests with XCTest on an iOS 8.x target using Xcode 9.3 or Xcode 9.4 beta and it will always fail.

Expected Results:
XCTest working on iOS 8.x with Xcode 9.3+.

Actual Results:

2018-04-09 19:42:54.911 xctest[62920:15857384] -[NSKeyedUnarchiver setDecodingFailurePolicy:]: unrecognized selector sent to instance 0x7fe9c5f00cb0
2018-04-09 19:42:54.912 xctest[62920:15857384] Exception decoding test configuration data: -[NSKeyedUnarchiver setDecodingFailurePolicy:]: unrecognized selector sent to instance 0x7fe9c5f00cb0
Usage: xctest [-XCTest All | <TestCaseClassName/testMethodName>] <path of unit to be tested>

Failure: No test configuration provided.

Displaying process arguments and environment for debugging purposes:
Arguments: (
    "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest",
    "-NSTreatUnknownArgumentsAsOpen",
    NO,
    "-ApplePersistenceIgnoreState",
    YES
)
Environment: {
    ...
}
Program ended with exit code: 1

Version/Build:

Xcode Version 9.3 (9E145)

Configuration:

macOS High Sierra 10.13.4 (17E199)

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!