Skip to content

Commit

Permalink
[FSSDK-9950] chore: SPM support added to process privacy manifest (#544)
Browse files Browse the repository at this point in the history
* SPM support added for privacy manifes file

* Compiled language version added
  • Loading branch information
muzahidul-opti authored Jan 18, 2024
1 parent f1de194 commit 988338e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// swift-tools-version:5.0
// swift-tools-version:5.3
// The Swift tools version declares the version of the PackageDescription library,
// the minimum version of the Swift tools and Swift language compatibility version to process the manifest,
// and the minimum version of the Swift tools that are needed to use the Swift package.

import PackageDescription

let package = Package(
Expand All @@ -14,7 +18,11 @@ let package = Package(
targets: ["Optimizely"])
],
targets: [
.target(name: "Optimizely", path: "Sources")
.target(
name: "Optimizely",
path: "Sources",
resources: [.copy("Supporting Files/PrivacyInfo.xcprivacy")]
)
],
swiftLanguageVersions: [.v5]
swiftLanguageVersions: [.v5, .version("5.9")]
)

0 comments on commit 988338e

Please sign in to comment.