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
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions FileKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/nvzqz/FileKit.git", :tag => "v#{s.version}" }
s.source_files = "Sources/*.swift"
s.resource_bundles = {'FileKit' => ['Support/PrivacyInfo.xcprivacy']}
end
12 changes: 8 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.4
//
// Package.swift
// FileKit
Expand Down Expand Up @@ -34,7 +34,8 @@ let package = Package(
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "FileKit",
targets: ["FileKit"]),
targets: ["FileKit"]
),
],
dependencies: [],
targets: [
Expand All @@ -43,10 +44,13 @@ let package = Package(
.target(
name: "FileKit",
dependencies: [],
path: "Sources"),
path: "Sources",
resources: [.copy("Support/PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "FileKitTests",
dependencies: ["FileKit"],
path: "Tests")
path: "Tests"
),
]
)
23 changes: 23 additions & 0 deletions Support/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?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>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>0A2A.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>