File tree Expand file tree Collapse file tree 6 files changed +26
-9
lines changed Expand file tree Collapse file tree 6 files changed +26
-9
lines changed Original file line number Diff line number Diff line change 17
17
description : release
18
18
19
19
env :
20
- VERSION : 3.10.4
20
+ VERSION : 3.10.5
21
21
22
22
jobs :
23
23
Original file line number Diff line number Diff line change 1
1
# Optimizely Swift SDK Changelog
2
2
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
+
3
11
## 3.10.4
4
12
December 8, 2023
5
13
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Pod::Spec.new do |s|
15
15
:tag => "v" +s . version . to_s
16
16
}
17
17
s . source_files = "Sources/**/*.swift"
18
+ s . resource_bundles = { 'OptimizelySwiftSDK' => [ 'Sources/Supporting Files/PrivacyInfo.xcprivacy' ] }
18
19
s . swift_version = [ "5.0" , "5.1" ]
19
20
s . framework = "Foundation"
20
21
s . requires_arc = true
Original file line number Diff line number Diff line change 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
+
2
6
import PackageDescription
3
7
4
8
let package = Package (
@@ -14,7 +18,11 @@ let package = Package(
14
18
targets: [ " Optimizely " ] )
15
19
] ,
16
20
targets: [
17
- . target( name: " Optimizely " , path: " Sources " )
21
+ . target(
22
+ name: " Optimizely " ,
23
+ path: " Sources " ,
24
+ resources: [ . copy( " Supporting Files/PrivacyInfo.xcprivacy " ) ]
25
+ )
18
26
] ,
19
- swiftLanguageVersions: [ . v5]
27
+ swiftLanguageVersions: [ . v5, . version ( " 5.9 " ) ]
20
28
)
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ Add the dependency on the Optimizely Swift SDK with Swift Package Manager in `Xc
37
37
#### CocoaPods
38
38
1 . Add the following lines to the _ Podfile_ :<pre >
39
39
``` use_frameworks! ```
40
- ``` pod 'OptimizelySwiftSDK', '~> 3.10.4 ' ```
40
+ ``` pod 'OptimizelySwiftSDK', '~> 3.10.5 ' ```
41
41
</pre >
42
42
43
43
2 . Run the following command: <pre >``` pod install ``` </pre >
44
44
45
45
Further installation instructions for Cocoapods: https://guides.cocoapods.org/using/getting-started.html
46
46
47
47
#### 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 >
49
49
50
50
2 . Run the following command:<pre >``` carthage update ``` </pre >
51
51
Original file line number Diff line number Diff line change 20
20
<key >NSPrivacyAccessedAPITypes</key >
21
21
<array >
22
22
<dict >
23
+ <key >NSPrivacyAccessedAPIType</key >
24
+ <string >NSPrivacyAccessedAPICategoryUserDefaults</string >
23
25
<key >NSPrivacyAccessedAPITypeReasons</key >
24
26
<array >
25
- <string >To store configuration and event data temporarily </string >
27
+ <string >CA92.1 </string >
26
28
</array >
27
- <key >NSPrivacyAccessedAPIType</key >
28
- <string >NSPrivacyAccessedAPICategoryUserDefaults</string >
29
29
</dict >
30
30
</array >
31
31
</dict >
You can’t perform that action at this time.
0 commit comments