Skip to content

Commit 015f82f

Browse files
committed
【Fix】 fix PrivacyInfo.xcprivacy error
1 parent 98c0a0f commit 015f82f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Package.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ let package = Package(
2222
targets: [
2323
.target(
2424
name: "APIWrapper",
25-
path: "Sources/Core",
26-
resources: [.copy("PrivacyInfo.xcprivacy")]),
25+
path: "Sources/Core"),
2726
.target(
2827
name: "AFAPIWrapper",
2928
dependencies: ["APIWrapper", "Alamofire"],

Package@swift-5.9.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ let package = Package(
2323
targets: [
2424
.target(
2525
name: "APIWrapper",
26-
path: "Sources/Core"),
26+
path: "Sources/Core",
27+
resources: [.copy("PrivacyInfo.xcprivacy")]),
2728
.target(
2829
name: "AFAPIWrapper",
2930
dependencies: ["APIWrapper", "Alamofire"],

0 commit comments

Comments
 (0)