Skip to content

Commit dc9c5e7

Browse files
Update macOS/iOS library [5.0.0 -> 5.1.0]
Includes C API 5.0.0 and database 5.0.0-2025-11-27
1 parent d2dabde commit dc9c5e7

File tree

12 files changed

+27
-24
lines changed

12 files changed

+27
-24
lines changed

dev-doc/updating-c-library.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ from the relevant objectbox repository release tag (like `java-4.1.0`).
6060
For the Flutter plugins on iOS/macOS ([view releases](https://github.com/objectbox/objectbox-swift/releases))
6161

6262
```bash
63-
./tool/set-swift-version.sh 5.0.0
63+
./tool/set-swift-version.sh 5.1.0
6464
```
6565

6666
```text
67-
* Update ObjectBox database for Flutter iOS/macOS apps to 5.0.0.
67+
* Update ObjectBox database for Flutter iOS/macOS apps to 5.1.0.
6868
For existing projects, run `pod repo update` and `pod update ObjectBox` in the `ios` or `macos` directories.
6969
```
7070

7171
```text
72-
Update macOS/iOS library [4.4.1 -> 5.0.0]
72+
Update macOS/iOS library [5.0.0 -> 5.1.0]
7373
74-
Includes C API 5.0.0 and database 5.0.0-2025-09-27
74+
Includes C API 5.0.0 and database 5.0.0-2025-11-27
7575
```
7676

7777
Note: the embedded C API and ObjectBox version can be looked up

flutter_libs/ios/objectbox_flutter_libs.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Pod::Spec.new do |s|
1313
s.homepage = 'https://objectbox.io'
1414
s.license = 'Apache 2.0, ObjectBox Binary License'
1515
s.author = 'ObjectBox'
16-
s.platform = :ios, '12.0' # ObjectBox Swift requires iOS 12
16+
s.platform = :ios, '15.0' # ObjectBox Swift requires iOS 15
1717
s.source = { :path => '.' }
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'Flutter'
21-
s.dependency 'ObjectBox', '5.0.0'
21+
s.dependency 'ObjectBox', '5.1.0'
2222

2323
# Flutter.framework does not contain a i386 slice.
2424
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

flutter_libs/macos/objectbox_flutter_libs.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Pod::Spec.new do |s|
1313
s.homepage = 'https://objectbox.io'
1414
s.license = 'Apache 2.0, ObjectBox Binary License'
1515
s.author = 'ObjectBox'
16-
s.platform = :osx, '10.15' # ObjectBox Swift requires macOS 10.15
16+
s.platform = :osx, '11.0' # ObjectBox Swift requires macOS 11
1717
s.source = { :path => '.' }
1818
s.source_files = 'Classes/**/*'
1919

2020
s.dependency 'FlutterMacOS'
21-
s.dependency 'ObjectBox', '5.0.0'
21+
s.dependency 'ObjectBox', '5.1.0'
2222

2323
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2424
s.swift_version = '5.3'

objectbox/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## latest
22

33
* Update ObjectBox database for Flutter Linux/Windows, Dart Native apps to [5.0.0](https://github.com/objectbox/objectbox-c/releases/tag/v5.0.0).
4+
* Update ObjectBox database for Flutter iOS/macOS apps to 5.1.0.
5+
Requires macOS 11 or iOS 15 and at least Swift 6.1 tools to compile.
6+
For existing projects, run `pod repo update` and `pod update ObjectBox` in the `ios` or `macos` directories.
47

58
## 5.0.2 (2025-11-10)
69

objectbox/example/flutter/objectbox_demo/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# ObjectBox requires iOS 12.0
2-
platform :ios, '12.0'
1+
# ObjectBox requires iOS 15.0
2+
platform :ios, '15.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

objectbox/example/flutter/objectbox_demo/macos/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# ObjectBox requires macOS 10.15
2-
platform :osx, '10.15'
1+
# ObjectBox requires macOS 11.0
2+
platform :osx, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

objectbox/example/flutter/objectbox_demo_relations/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# ObjectBox requires iOS 12.0
2-
platform :ios, '12.0'
1+
# ObjectBox requires iOS 15.0
2+
platform :ios, '15.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

objectbox/example/flutter/objectbox_demo_relations/macos/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# ObjectBox requires macOS 10.15
2-
platform :osx, '10.15'
1+
# ObjectBox requires macOS 11.0
2+
platform :osx, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

objectbox/example/flutter/objectbox_demo_sync/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# ObjectBox requires iOS 12.0
2-
platform :ios, '12.0'
1+
# ObjectBox requires iOS 15.0
2+
platform :ios, '15.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

objectbox/example/flutter/objectbox_demo_sync/macos/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# ObjectBox requires macOS 10.15
2-
platform :osx, '10.15'
1+
# ObjectBox requires macOS 11.0
2+
platform :osx, '11.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

0 commit comments

Comments
 (0)