Skip to content

Commit 2dd225b

Browse files
author
ikesyo
committed
Suppress SwiftPM build warnings
Such as: > warning: found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target > /path/to/Nimble/Sources/Nimble/Info.plist
1 parent 2018a98 commit 2dd225b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Package.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ let package = Package(
2020
condition: .when(platforms: [.macOS, .iOS])),
2121
.product(name: "CwlPosixPreconditionTesting", package: "CwlPreconditionTesting",
2222
condition: .when(platforms: [.tvOS]))
23-
]
23+
],
24+
exclude: ["Info.plist"]
2425
),
2526
.testTarget(
2627
name: "NimbleTests",
2728
dependencies: ["Nimble"],
28-
exclude: ["objc"]
29+
exclude: ["objc", "Info.plist"]
2930
),
3031
],
3132
swiftLanguageVersions: [.v5]

0 commit comments

Comments
 (0)