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 1717 description : release
1818
1919env :
20- VERSION : 3.10.4
20+ VERSION : 3.10.5
2121
2222jobs :
2323
Original file line number Diff line number Diff line change 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
412December 8, 2023
513
Original file line number Diff line number Diff 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
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+
26import PackageDescription
37
48let 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)
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
3737#### CocoaPods
38381 . 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
43432 . Run the following command: <pre >``` pod install ``` </pre >
4444
4545Further 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
50502 . Run the following command:<pre >``` carthage update ``` </pre >
5151
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments