add PrivacyInfo.xcprivacy to Package.swift

pull/35300/head
Hannah Shi 12 months ago
parent a04188b29f
commit 18641a1106
  1. 6
      Package.swift
  2. 6
      templates/Package.swift.template

6
Package.swift generated

@ -2165,6 +2165,9 @@ let package = Package(
"third_party/xxhash/xxhash.h",
],
publicHeadersPath: "spm-core-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),
@ -2211,6 +2214,9 @@ let package = Package(
"src/cpp/",
],
publicHeadersPath: "spm-cpp-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),

@ -55,6 +55,9 @@
% endfor
],
publicHeadersPath: "spm-core-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),
@ -101,6 +104,9 @@
"src/cpp/",
],
publicHeadersPath: "spm-cpp-include",
resources: [
.copy("src/objective-c/PrivacyInfo.xcprivacy"),
],
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("include/"),

Loading…
Cancel
Save