Skip to content

Commit

Permalink
Update ObjectBox Swift [2.0.0 -> 4.0.0]
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Oct 14, 2024
1 parent 0344553 commit 6977b5e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev-doc/updating-c-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion flutter_libs/ios/objectbox_flutter_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
2 changes: 1 addition & 1 deletion flutter_libs/macos/objectbox_flutter_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions objectbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion sync_flutter_libs/ios/objectbox_sync_flutter_libs.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6977b5e

Please sign in to comment.