1
1
// swift-tools-version: 6.0
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
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
+
4
24
import PackageDescription
5
25
6
26
let package = Package (
@@ -18,7 +38,11 @@ let package = Package(
18
38
. target(
19
39
name: " CryptoSwiftWrapper " ,
20
40
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
+ ) ,
22
46
. systemLibrary(
23
47
name: " _cyfn " , path: " Sources/_cyfn " ) ,
24
48
. testTarget(
0 commit comments