Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions splitio_ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.0 (Sep 17, 2026)
* Added Swift Package Manager support, which becomes the default package manager for Flutter apps in Flutter 3.44. CocoaPods remains fully supported.
* Updated the minimum supported iOS version to 12.

# 1.1.0 (Jan 28, 2026)
* 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.
* Updated iOS SDK to `3.6.0`.
Expand Down
7 changes: 6 additions & 1 deletion splitio_ios/ios/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ Icon?

/Flutter/Generated.xcconfig
/Flutter/ephemeral/
/Flutter/flutter_export_environment.sh
/Flutter/flutter_export_environment.sh

# Swift Package Manager
.build/
.swiftpm/
Package.resolved
Empty file removed splitio_ios/ios/Assets/.gitkeep
Empty file.
4 changes: 0 additions & 4 deletions splitio_ios/ios/Classes/SplitioPlugin.h

This file was deleted.

15 changes: 0 additions & 15 deletions splitio_ios/ios/Classes/SplitioPlugin.m

This file was deleted.

9 changes: 4 additions & 5 deletions splitio_ios/ios/splitio_ios.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'splitio_ios'
s.version = '0.9.0'
s.version = '1.2.0'
s.summary = 'split.io official Flutter plugin.'
s.description = <<-DESC
split.io official Flutter plugin.
Expand All @@ -13,12 +13,11 @@ split.io official Flutter plugin.
s.license = { :file => '../LICENSE' }
s.author = { 'Split' => 'support@split.io' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.source_files = 'splitio_ios/Sources/splitio_ios/**/*.swift'
s.dependency 'Flutter'
s.dependency 'Split', '~> 3.6.0'
s.platform = :ios, '9.0'
s.platform = :ios, '12.0'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.swift_version = '5.0'
end
26 changes: 26 additions & 0 deletions splitio_ios/ios/splitio_ios/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "splitio_ios",
platforms: [
.iOS("12.0")
],
products: [
.library(name: "splitio-ios", targets: ["splitio_ios"])
],
dependencies: [
// Mirrors the `~> 3.6.0` constraint in splitio_ios.podspec.
.package(url: "https://github.com/splitio/ios-client", "3.6.0" ..< "3.7.0")
],
targets: [
.target(
name: "splitio_ios",
dependencies: [
.product(name: "Split", package: "ios-client")
]
)
]
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Foundation
import Split
import Flutter
import UIKit

protocol SplitMethodParser {
Expand Down
2 changes: 1 addition & 1 deletion splitio_ios/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: splitio_ios
description: The official iOS implementation of splitio Flutter plugin.
repository: https://github.com/splitio/flutter-sdk-plugin/tree/main/splitio_ios
version: 1.1.0
version: 1.2.0

environment:
sdk: ">=2.16.2 <4.0.0"
Expand Down
Loading