Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Commit 975f6ab

Browse files
committed
(feat): Privacy manifest added
1 parent 27831f0 commit 975f6ab

File tree

2 files changed

+58
-1
lines changed

2 files changed

+58
-1
lines changed

.PrivacyInfo.xcprivacy

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
<!--
4+
PrivacyInfo.xcprivacy
5+
CryptoSwiftWrapper
6+
7+
This source file is part of the Scribble Foundation open source project
8+
9+
Copyright (c) 2024 ScribbleLabApp. and the ScribbleLab project authors
10+
Licensed under Apache License v2.0 with Runtime Library Exception
11+
12+
You may not use this file except in compliance with the License.
13+
You may obtain a copy of the License at
14+
15+
http://www.apache.org/licenses/LICENSE-2.0
16+
17+
Unless required by applicable law or agreed to in writing, software
18+
distributed under the License is distributed on an "AS IS" BASIS,
19+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20+
See the License for the specific language governing permissions and
21+
limitations under the License.
22+
-->
23+
<plist version="1.0">
24+
<key>NSPrivacyTracking</key>
25+
<false/>
26+
<key>NSPrivacyAccessedAPITypes</key>
27+
<array/>
28+
<key>NSPrivacyCollectedDataTypes</key>
29+
<array/>
30+
<key>NSPrivacyTrackingDomains</key>
31+
<array/>
32+
<dict/>
33+
</plist>

Package.swift

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
// swift-tools-version: 6.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

4+
//===-- ./Package.swift - Package Configuration ------------ -*- swift -*-===//
5+
// //
6+
// This source file is part of the Scribble Foundation open source project //
7+
// //
8+
// Copyright (c) 2024 ScribbleLabApp. and the ScribbleLab project authors //
9+
// Licensed under Apache License v2.0 with Runtime Library Exception //
10+
// //
11+
// You may not use this file except in compliance with the License. //
12+
// You may obtain a copy of the License at //
13+
// //
14+
// http://www.apache.org/licenses/LICENSE-2.0 //
15+
// //
16+
// Unless required by applicable law or agreed to in writing, software //
17+
// distributed under the License is distributed on an "AS IS" BASIS, //
18+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
19+
// See the License for the specific language governing permissions and //
20+
// limitations under the License. //
21+
// //
22+
//===----------------------------------------------------------------------===//
23+
424
import PackageDescription
525

626
let package = Package(
@@ -18,7 +38,11 @@ let package = Package(
1838
.target(
1939
name: "CryptoSwiftWrapper",
2040
dependencies: ["_cyfn", .product(name: "Crypto", package: "swift-crypto")],
21-
publicHeadersPath: "Sources/CryptoSwiftWrapper/include"),
41+
resources: [
42+
.copy("../../.PrivacyInfo.xcprivacy")
43+
],
44+
publicHeadersPath: "Sources/CryptoSwiftWrapper/include"
45+
),
2246
.systemLibrary(
2347
name: "_cyfn", path: "Sources/_cyfn"),
2448
.testTarget(

0 commit comments

Comments
 (0)