Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LicensePlistViewController.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ Pod::Spec.new do |s|
s.source_files = "LicensePlistViewController/*.swift"
s.swift_version = "5.0"
s.requires_arc = true
s.resource_bundles = {"LicensePlistViewController" => ["LicensePlistViewController/PrivacyInfo.xcprivacy"]}
end
4 changes: 4 additions & 0 deletions LicensePlistViewController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
8E1830852107DBFB00352CF4 /* String+FilePath.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E1830842107DBFB00352CF4 /* String+FilePath.swift */; };
8E1830A92107F82600352CF4 /* com.mono0926.LicensePlist in Resources */ = {isa = PBXBuildFile; fileRef = 8E1830A82107F82600352CF4 /* com.mono0926.LicensePlist */; };
8EECE97A21C6884000A78DF9 /* LicensePlistViewController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E18304C2107BBA000352CF4 /* LicensePlistViewController.framework */; };
AAF934DA2B90C8F200E1FFA4 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = AAF934D92B90C8F200E1FFA4 /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -39,6 +40,7 @@
8E1830822107CB6B00352CF4 /* LicensePlistParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicensePlistParser.swift; sourceTree = "<group>"; };
8E1830842107DBFB00352CF4 /* String+FilePath.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+FilePath.swift"; sourceTree = "<group>"; };
8E1830A82107F82600352CF4 /* com.mono0926.LicensePlist */ = {isa = PBXFileReference; lastKnownFileType = folder; path = com.mono0926.LicensePlist; sourceTree = "<group>"; };
AAF934D92B90C8F200E1FFA4 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -88,6 +90,7 @@
8E18307E2107C50A00352CF4 /* Item.swift */,
8E1830842107DBFB00352CF4 /* String+FilePath.swift */,
8E1830502107BBA000352CF4 /* Info.plist */,
AAF934D92B90C8F200E1FFA4 /* PrivacyInfo.xcprivacy */,
);
path = LicensePlistViewController;
sourceTree = "<group>";
Expand Down Expand Up @@ -207,6 +210,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
AAF934DA2B90C8F200E1FFA4 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
14 changes: 14 additions & 0 deletions LicensePlistViewController/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ let package = Package(
.target(
name: "LicensePlistViewController",
path: "LicensePlistViewController",
exclude: ["Info.plist"]
exclude: ["Info.plist"],
resources: [.copy("PrivacyInfo.xcprivacy")]
),
]
)