diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5b92d43 Binary files /dev/null and b/.DS_Store differ diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/CHANGES.txt b/CHANGES.txt index 78797da..baaafef 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,9 @@ +2.3.2: (Oct 22, 2025) +- Fixed streaming reconnection after connection was interrupted. + +2.3.0: (Sept 23, 2025) +- Added new configuration for Fallback Treatments, which allows setting a treatment value and optional config to be returned in place of "control", either globally or by flag. Read more in our docs. + 2.2.3: (Aug 29, 2025) - Updated polling logic to stop and restart memberships data synchronization when not currently used in flags or rule based segments. diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..e0c1e64 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,25 @@ +{ + "object": { + "pins": [ + { + "package": "Split", + "repositoryURL": "https://github.com/splitio/ios-client.git", + "state": { + "branch": null, + "revision": "73b8b0d1e94f13383eee534cfea4ef657760f0ae", + "version": "3.4.2" + } + }, + { + "package": "SplitRum", + "repositoryURL": "https://github.com/splitio/ios-rum", + "state": { + "branch": null, + "revision": "758eeb366e947c410e6935c8d954200f679d69ea", + "version": "0.4.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index f71a154..edae4cf 100644 --- a/Package.swift +++ b/Package.swift @@ -10,13 +10,27 @@ let package = Package( products: [ .library( name: "SplitSuite", - targets: ["iOSSplitSuite"]) + targets: ["SplitSuiteWrapper"] + ) + ], + dependencies: [ + .package(name: "ios-client", url: "https://github.com/splitio/ios-client.git", from: "3.4.2"), + .package(name: "ios-rum", url: "https://github.com/splitio/ios-rum", from: "0.4.0"), ], targets: [ .binaryTarget( name: "iOSSplitSuite", - url: "https://cdn.split.io/ios-suite/iOSSplitSuite_2.3.2-rc1.zip", - checksum: "84abbdaf9dc9a54eac51762e45f50a0d3ea2b953f2cc7d6459cd7adc0aa868ef" + url: "https://cdn.split.io/ios-suite/iOSSplitSuite_2.3.2.zip", + checksum: "ce1d87c6e05ef82c41469837ff5936bbc681e2c7e15e41844ebd8ec803dbe2fc" ), + .target( + name: "SplitSuiteWrapper", + dependencies: [ + "iOSSplitSuite", + .product(name: "Split", package: "ios-client"), + .product(name: "SplitRum", package: "ios-rum") + ], + path: "Sources/SplitSuiteWrapper" + ) ] ) diff --git a/Sources/.DS_Store b/Sources/.DS_Store new file mode 100644 index 0000000..6306a80 Binary files /dev/null and b/Sources/.DS_Store differ diff --git a/Sources/SplitSuiteWrapper/SplitSuiteWrapper.swift b/Sources/SplitSuiteWrapper/SplitSuiteWrapper.swift new file mode 100644 index 0000000..d45a2b2 --- /dev/null +++ b/Sources/SplitSuiteWrapper/SplitSuiteWrapper.swift @@ -0,0 +1,3 @@ +@_exported import iOSSplitSuite +@_exported import Split +@_exported import SplitRumAgent