diff --git a/dev-doc/updating-c-library.md b/dev-doc/updating-c-library.md index 1f3e55a2..5641b6a3 100644 --- a/dev-doc/updating-c-library.md +++ b/dev-doc/updating-c-library.md @@ -19,7 +19,7 @@ For the Flutter plugins on Android ([view releases](https://github.com/objectbox For the Flutter plugins on iOS/macOS ([view releases](https://github.com/objectbox/objectbox-swift/releases)) ``` -./tool/set-swift-version.sh 2.0.0 +./tool/set-swift-version.sh 4.0.0 ``` For each, add an entry (see previous releases) to the [CHANGELOG](../objectbox/CHANGELOG.md). diff --git a/flutter_libs/ios/objectbox_flutter_libs.podspec b/flutter_libs/ios/objectbox_flutter_libs.podspec index 7999c778..90e81312 100644 --- a/flutter_libs/ios/objectbox_flutter_libs.podspec +++ b/flutter_libs/ios/objectbox_flutter_libs.podspec @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'ObjectBox', '2.0.0' + s.dependency 'ObjectBox', '4.0.0' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/flutter_libs/macos/objectbox_flutter_libs.podspec b/flutter_libs/macos/objectbox_flutter_libs.podspec index 6b343bfc..ff872266 100644 --- a/flutter_libs/macos/objectbox_flutter_libs.podspec +++ b/flutter_libs/macos/objectbox_flutter_libs.podspec @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' - s.dependency 'ObjectBox', '2.0.0' + s.dependency 'ObjectBox', '4.0.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.3' diff --git a/objectbox/CHANGELOG.md b/objectbox/CHANGELOG.md index 17c93fa7..3ef87cc1 100644 --- a/objectbox/CHANGELOG.md +++ b/objectbox/CHANGELOG.md @@ -4,6 +4,8 @@ * iOS: support `Query.findWithScores()`, previously would throw a `StorageException: Do not use vector-based find on 32 bit systems with big objects`. [#676](https://github.com/objectbox/objectbox-dart/issues/676) * Flutter for Linux/Windows, Dart Native: update to [objectbox-c 0.4.1](https://github.com/objectbox/objectbox-c/releases/tag/v0.4.1). +* Flutter for iOS/macOS: update to [objectbox-swift 4.0.0](https://github.com/objectbox/objectbox-swift/releases/tag/v4.0.0). + Existing projects may have to run `pod repo update` and `pod update ObjectBox`. ## 4.0.2 (2024-08-14) diff --git a/sync_flutter_libs/ios/objectbox_sync_flutter_libs.podspec b/sync_flutter_libs/ios/objectbox_sync_flutter_libs.podspec index a93e2c69..8ee527c9 100644 --- a/sync_flutter_libs/ios/objectbox_sync_flutter_libs.podspec +++ b/sync_flutter_libs/ios/objectbox_sync_flutter_libs.podspec @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.dependency 'ObjectBox', '2.0.0-sync' + s.dependency 'ObjectBox', '4.0.0-sync' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/sync_flutter_libs/macos/objectbox_sync_flutter_libs.podspec b/sync_flutter_libs/macos/objectbox_sync_flutter_libs.podspec index 0c7d1275..b7cd5fc7 100644 --- a/sync_flutter_libs/macos/objectbox_sync_flutter_libs.podspec +++ b/sync_flutter_libs/macos/objectbox_sync_flutter_libs.podspec @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' - s.dependency 'ObjectBox', '2.0.0-sync' + s.dependency 'ObjectBox', '4.0.0-sync' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.3'