malcommac / SwiftDate

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
MIT License
7.63k stars 770 forks source link

Issue with code coverage and SPM ? #758

Closed fatlazycat closed 4 years ago

fatlazycat commented 4 years ago

When I turn on code coverage and execute tests Xcode just instantly crashes, the logs show below.

Something todo with SwiftDate ??

Thanks

Process: Xcode [57934] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 12.0 (17219) Build Info: IDEFrameworks-17219000000000000~2 (12A7209) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [57934] User ID: 501

Date/Time: 2020-10-18 20:14:28.465 +0100 OS Version: Mac OS X 10.15.7 (19H2) Report Version: 12 Bridge OS Version: 4.6 (17P6610) Anonymous UUID: 9366E5EE-8562-34FA-5A4F-B3A4460C07F5

Time Awake Since Boot: 180000 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: IDEContainer - uniquing lock

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information: ProductBuildVersion: 12A7209 ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17219/IDEFoundation/ProjectModel/Containers/IDEContainer.m:580 Details: Error: Mismatch between existing container extension: <DVTExtension 0x7f96a6512ff0: Swift Package Folder (Xcode.IDEFoundation.Container.SwiftPackageFolder) from com.apple.dt.IDE.IDESwiftPackageSupport> and requested container extension: <DVTExtension 0x7f9676509d20: Folder (Xcode.IDEFoundation.Container.Folder) from com.apple.dt.IDEFoundation> for file path: <DVTFilePath:0x7f9647ce0e20:'/Users/graham/Library/Developer/Xcode/DerivedData/subs-ezkzhcnuwbarxccrlqkcqkkgsksw/SourcePackages/checkouts/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/langs'> Object: Method: +_retainedContainerAtFilePath:fileDataType:workspace:options:error: Thread: <NSThread: 0x7f96c641beb0>{number = 1, name = main} Open FDs: 98/9472 Hints:

fatlazycat commented 4 years ago

Think dupe of #704

Search never showed it up