Skip to content

Commit c16d8ea

Browse files
committed
Fix missing PrivacyInfo.xcprivacy : Add resources to target definition
Fix missing PrivacyInfo.xcprivacy when building framework using Xcode Package Dependencies.
1 parent cf76efc commit c16d8ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ let package = Package(
1414
.target(
1515
name: "IOSSecuritySuite",
1616
path: "./IOSSecuritySuite",
17-
exclude: ["IOSSecuritySuite.h", "Info.plist"]
17+
exclude: ["IOSSecuritySuite.h", "Info.plist"],
18+
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]
1819
)
1920
],
2021
swiftLanguageVersions: [.v4_2, .v5]

0 commit comments

Comments
 (0)