diff --git a/Package.swift b/Package.swift index 6f98091..feed49a 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,15 @@ let package = Package( // Targets can depend on other targets in this package and products from dependencies. .target(name: "WebDriver", path: "Sources"), .target(name: "TestsCommon", path: "Tests/Common"), - .testTarget(name: "WebDriverTests", dependencies: ["WebDriver", "TestsCommon"]), - .testTarget(name: "UnitTests", dependencies: ["WebDriver", "TestsCommon"]), + .testTarget( + name: "WebDriverTests", + dependencies: ["WebDriver", "TestsCommon"], + // Ignore "LNK4217: locally defined symbol imported" spew due to SPM library support limitations + linkerSettings: [ .unsafeFlags(["-Xlinker", "-ignore:4217"]) ]), + .testTarget( + name: "UnitTests", + dependencies: ["WebDriver", "TestsCommon"], + // Ignore "LNK4217: locally defined symbol imported" spew due to SPM library support limitations + linkerSettings: [ .unsafeFlags(["-Xlinker", "-ignore:4217"]) ]), ] )