mirror of
https://github.com/devicekit/DeviceKit.git
synced 2026-05-17 10:20:34 +00:00
Exclude unhandled files (#484)
When including DeviceKit as a dependency SPM warns about unhandled files:
warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/kp/Developer/clones/DeviceKit/Tests/Info.plist
warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/kp/Developer/clones/DeviceKit/Source/Device.swift.gyb
This commit is contained in:
committed by
GitHub
parent
354737a6c6
commit
584ec1ad55
+3
-1
@@ -33,12 +33,14 @@ let package = Package(
|
||||
name: "DeviceKit",
|
||||
dependencies: [],
|
||||
path: "Source",
|
||||
resources: [.process("PrivacyInfo.xcprivacy")]
|
||||
exclude: ["Info.plist", "Device.swift.gyb"],
|
||||
resources: [.process("PrivacyInfo.xcprivacy")],
|
||||
),
|
||||
.testTarget(
|
||||
name: "DeviceKitTests",
|
||||
dependencies: ["DeviceKit"],
|
||||
path: "Tests",
|
||||
exclude: ["Info.plist"],
|
||||
resources: [.process("../Source/PrivacyInfo.xcprivacy")]
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user