Skip to content

Commit 988338e

Browse files
[FSSDK-9950] chore: SPM support added to process privacy manifest (#544)
* SPM support added for privacy manifes file * Compiled language version added
1 parent f1de194 commit 988338e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Package.swift

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version:5.3
2+
// The Swift tools version declares the version of the PackageDescription library,
3+
// the minimum version of the Swift tools and Swift language compatibility version to process the manifest,
4+
// and the minimum version of the Swift tools that are needed to use the Swift package.
5+
26
import PackageDescription
37

48
let package = Package(
@@ -14,7 +18,11 @@ let package = Package(
1418
targets: ["Optimizely"])
1519
],
1620
targets: [
17-
.target(name: "Optimizely", path: "Sources")
21+
.target(
22+
name: "Optimizely",
23+
path: "Sources",
24+
resources: [.copy("Supporting Files/PrivacyInfo.xcprivacy")]
25+
)
1826
],
19-
swiftLanguageVersions: [.v5]
27+
swiftLanguageVersions: [.v5, .version("5.9")]
2028
)

0 commit comments

Comments
 (0)