File tree Expand file tree Collapse file tree 5 files changed +36
-2
lines changed
Expand file tree Collapse file tree 5 files changed +36
-2
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,6 @@ xcuserdata
2727Packages /
2828
2929bazel- *
30+
31+ # Swift Package Manager
32+ .swiftpm /
Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ Pod::Spec.new do |s|
1313 s . tvos . deployment_target = '12.0'
1414
1515 s . source_files = 'Sources/*.swift'
16+
17+ s . resource_bundles = { 'Kronos' => [ 'Source/PrivacyInfo.xcprivacy' ] }
1618end
Original file line number Diff line number Diff line change 4949 26447D861D6E54FF00159BEE /* DNSResolverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DNSResolverTests.swift; sourceTree = "<group>"; };
5050 26447D871D6E54FF00159BEE /* NTPClientTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NTPClientTests.swift; sourceTree = "<group>"; };
5151 26447D881D6E54FF00159BEE /* NTPPacketTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NTPPacketTests.swift; sourceTree = "<group>"; };
52+ 5DB5A05F2BAAF67D0069CCF9 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
5253 930B39DC2051E6D300360BA2 /* TimeStorage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TimeStorage.swift; sourceTree = "<group>"; };
5354 930B39DE2051F25300360BA2 /* TimeStorageTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TimeStorageTests.swift; sourceTree = "<group>"; };
5455 C20174831BD5509D00E4FE18 /* Kronos.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Kronos.framework; sourceTree = BUILT_PRODUCTS_DIR; };
122123 26447D7A1D6E54D400159BEE /* NTPProtocol.swift */,
123124 26447D7B1D6E54D400159BEE /* TimeFreeze.swift */,
124125 930B39DC2051E6D300360BA2 /* TimeStorage.swift */,
126+ 5DB5A05F2BAAF67D0069CCF9 /* PrivacyInfo.xcprivacy */,
125127 );
126128 path = Sources;
127129 sourceTree = "<group>";
Original file line number Diff line number Diff line change 1- // swift-tools-version:5.0
1+ // swift-tools-version:5.3
22import PackageDescription
33
44let package = Package (
@@ -7,7 +7,11 @@ let package = Package(
77 . library( name: " Kronos " , targets: [ " Kronos " ] ) ,
88 ] ,
99 targets: [
10- . target( name: " Kronos " , path: " Sources " ) ,
10+ . target(
11+ name: " Kronos " ,
12+ path: " Sources " ,
13+ resources: [ . process( " PrivacyInfo.xcprivacy " ) ]
14+ ) ,
1115 . testTarget( name: " KronosTests " , dependencies: [ " Kronos " ] ) ,
1216 ]
1317)
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >NSPrivacyAccessedAPITypes</key >
6+ <array >
7+ <dict >
8+ <key >NSPrivacyAccessedAPIType</key >
9+ <string >NSPrivacyAccessedAPICategoryUserDefaults</string >
10+ <key >NSPrivacyAccessedAPITypeReasons</key >
11+ <array >
12+ <string >CA92.1</string >
13+ </array >
14+ </dict >
15+ </array >
16+ <key >NSPrivacyCollectedDataTypes</key >
17+ <array />
18+ <key >NSPrivacyTrackingDomains</key >
19+ <array />
20+ <key >NSPrivacyTracking</key >
21+ <false />
22+ </dict >
23+ </plist >
You can’t perform that action at this time.
0 commit comments