Skip to content

Commit 19c25ee

Browse files
committed
update to lib 0.9.1, prep 1.3.1
1 parent 43c2875 commit 19c25ee

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Source/download_dependencies.command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fi
2424

2525
# Nothing to build, so download instead
2626
if [ ! -d "${dest_dir}" ] || [ ! -e "${dest_dir}/libObjectBoxCore-iOS.a" ]; then
27-
version=1.3.0
28-
core_version=0.8.2
27+
version=1.3.1
28+
core_version=0.9.1
2929
archive_path="${my_dir}/external/objectbox-static.zip"
3030
OBXLIB_URL_apple_static="https://github.com/objectbox/objectbox-swift/releases/download/v${version}/ObjectBoxCore-static-${core_version}.zip"
3131

Source/ios-framework/CommonSource/Store.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ public class Store: CustomDebugStringConvertible {
9393
obx_opt_directory(opts, ptr)
9494
try checkLastError()
9595
obx_opt_max_db_size_in_kb(opts, Int(maxDbSizeInKByte))
96-
obx_opt_file_mode(opts, Int32(fileMode))
97-
obx_opt_max_readers(opts, Int32(maxReaders))
96+
obx_opt_file_mode(opts, UInt32(fileMode))
97+
obx_opt_max_readers(opts, UInt32(maxReaders))
9898
let result = obx_store_open(opts)
9999
opts = nil // store owns it now, make sure defer doesn't free it.
100100
try checkLastError()

Source/ios-framework/CommonTests/StoreTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class StoreTests: XCTestCase {
4747
print("Testing", Store.versionFullInfo) // Actually print it so we see the used versions in the logs
4848
// Update the expected versions every now and then...
4949
XCTAssertGreaterThanOrEqual(Store.version, "1.3.1")
50-
XCTAssertGreaterThanOrEqual(Store.versionLib, "0.8.100")
50+
XCTAssertGreaterThanOrEqual(Store.versionLib, "0.9.1")
5151
XCTAssertGreaterThanOrEqual(Store.versionCore, "2.6.1")
5252
}
5353

cartspec/ObjectBox.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"1.1.1": "https://github.com/objectbox/objectbox-swift/releases/download/v1.1.1/ObjectBox-1.1.1-Carthage.framework.zip",
33
"1.2.0": "https://github.com/objectbox/objectbox-swift/releases/download/v1.2.0/ObjectBox-1.2.0-Carthage.framework.zip",
4-
"1.3.0": "https://github.com/objectbox/objectbox-swift/releases/download/v1.3.0/ObjectBox-1.3.0-Carthage.framework.zip"
4+
"1.3.0": "https://github.com/objectbox/objectbox-swift/releases/download/v1.3.0/ObjectBox-1.3.0-Carthage.framework.zip",
5+
"1.3.1": "https://github.com/objectbox/objectbox-swift/releases/download/v1.3.1/ObjectBox-1.3.1-Carthage.framework.zip"
56
}

0 commit comments

Comments
 (0)