diff --git a/Package.swift b/Package.swift index 074261f..9aa517f 100644 --- a/Package.swift +++ b/Package.swift @@ -29,7 +29,10 @@ let package = Package( .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), ] ), - .testTarget(name: "PerceptionTests", dependencies: ["Perception"]), + .testTarget( + name: "PerceptionTests", + dependencies: ["Perception"] + ), .macro( name: "PerceptionMacros", @@ -48,14 +51,9 @@ let package = Package( ] ) -//for target in package.targets where target.type != .system { -// target.swiftSettings = target.swiftSettings ?? [] -// target.swiftSettings?.append( -// .unsafeFlags([ -// "-c", "release", -// "-emit-module-interface", "-enable-library-evolution", -// "-Xfrontend", "-warn-concurrency", -// "-Xfrontend", "-enable-actor-data-race-checks", -// ]) -// ) -//} +for target in package.targets where target.type != .system { + target.swiftSettings = target.swiftSettings ?? [] + target.swiftSettings?.append( + .enableExperimentalFeature("StrictConcurrency") + ) +}