Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5683aa36a | ||
|
|
707455dcfb | ||
|
|
17ee5d6717 | ||
|
|
2295bcdbae |
@@ -5,7 +5,10 @@ let package = Package(
|
||||
name: "ICCeryCore",
|
||||
platforms: [.macOS(.v12)],
|
||||
products: [
|
||||
.library(name: "ICCeryCore", targets: ["ICCeryCore"]),
|
||||
// Static so app + test bundles each link ICCeryCore directly —
|
||||
// a dynamic package product framework is not embedded in the
|
||||
// .app and dyld kills the app at launch on macOS 12 (#117).
|
||||
.library(name: "ICCeryCore", type: .static, targets: ["ICCeryCore"]),
|
||||
],
|
||||
targets: [
|
||||
.target(name: "ICCeryCore"),
|
||||
|
||||
@@ -21,7 +21,9 @@ final class ProcessRunSupportTests: XCTestCase {
|
||||
setRunning: { running.append($0) },
|
||||
resetLog: { resets += 1 },
|
||||
onLog: { batch in
|
||||
MainActor.assertIsolated()
|
||||
// MainActor.assertIsolated() needs Swift 5.9; the runner is
|
||||
// on Xcode 14.2 (Swift 5.7) (#115).
|
||||
XCTAssertTrue(Thread.isMainThread)
|
||||
received.append(contentsOf: batch)
|
||||
}
|
||||
) { onLog in
|
||||
|
||||
Reference in New Issue
Block a user