Skip to content

Commit 3739138

Browse files
[FSSDK-9952] chore: prepare for release 3.10.5 (#548)
* Privacy access api types value updated (#541) * Add coccoapods support for privacy manifest (#542) * [FSSDK-9950] chore: SPM support added to process privacy manifest (#544) * SPM support added for privacy manifes file * Compiled language version added * Update CHANGELOG.md * Update README.md * Update swift.yml
1 parent f774652 commit 3739138

File tree

6 files changed

+26
-9
lines changed

6 files changed

+26
-9
lines changed

.github/workflows/swift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
description: release
1818

1919
env:
20-
VERSION: 3.10.4
20+
VERSION: 3.10.5
2121

2222
jobs:
2323

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Optimizely Swift SDK Changelog
22

3+
## 3.10.5
4+
Jan 19, 2024
5+
6+
### Bug Fixes
7+
* Value for required reason API fixed at privacy manifest file. ([#541](https://github.com/optimizely/swift-sdk/pull/541))
8+
* Add coccoapods support to bundle privacy manifest file. ([#542](https://github.com/optimizely/swift-sdk/pull/542))
9+
* Add SPM support to bundle privacy manifest file. ([#544](https://github.com/optimizely/swift-sdk/pull/544))
10+
311
## 3.10.4
412
December 8, 2023
513

OptimizelySwiftSDK.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
1515
:tag => "v"+s.version.to_s
1616
}
1717
s.source_files = "Sources/**/*.swift"
18+
s.resource_bundles = { 'OptimizelySwiftSDK' => ['Sources/Supporting Files/PrivacyInfo.xcprivacy'] }
1819
s.swift_version = ["5.0", "5.1"]
1920
s.framework = "Foundation"
2021
s.requires_arc = true

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
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Add the dependency on the Optimizely Swift SDK with Swift Package Manager in `Xc
3737
#### CocoaPods
3838
1. Add the following lines to the _Podfile_:<pre>
3939
```use_frameworks!```
40-
```pod 'OptimizelySwiftSDK', '~> 3.10.4'```
40+
```pod 'OptimizelySwiftSDK', '~> 3.10.5'```
4141
</pre>
4242

4343
2. Run the following command: <pre>``` pod install ```</pre>
4444

4545
Further installation instructions for Cocoapods: https://guides.cocoapods.org/using/getting-started.html
4646

4747
#### Carthage
48-
1. Add the following lines to the _Cartfile_:<pre>```github "optimizely/swift-sdk" ~> 3.10.4```</pre>
48+
1. Add the following lines to the _Cartfile_:<pre>```github "optimizely/swift-sdk" ~> 3.10.5```</pre>
4949

5050
2. Run the following command:<pre>```carthage update```</pre>
5151

Sources/Supporting Files/PrivacyInfo.xcprivacy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
<key>NSPrivacyAccessedAPITypes</key>
2121
<array>
2222
<dict>
23+
<key>NSPrivacyAccessedAPIType</key>
24+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
2325
<key>NSPrivacyAccessedAPITypeReasons</key>
2426
<array>
25-
<string>To store configuration and event data temporarily</string>
27+
<string>CA92.1</string>
2628
</array>
27-
<key>NSPrivacyAccessedAPIType</key>
28-
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
2929
</dict>
3030
</array>
3131
</dict>

0 commit comments

Comments
 (0)