You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use rusqlite v0.29.0 in a mobile cross platform library with the bundled feature since 6 months without issues. With recent builds of the Rust library I encounter a warning in Xcode:
Object file (/Users/piojost/Library/Developer/Xcode/DerivedData/RustLibrarySample-btkjdmepvzgzbtaktymqwfkgjfaq/Build/Products/Debug-iphoneos/rustlibraryFFI.framework/rustlibraryFFI[27](0343851c9008f270-sqlite3.o)) was built for newer 'iOS' version (17.4) than being linked (15.5)
I think that it is caused by an updated transitive dependency of rusqlite, but cannot proof it, because I followed the old recommendation of adding Cargo.lock to .gitignore. After doing a cargo update a few weeks ago, building rusqlite for iOS x86_64 stopped working and a recent cargo update solved that issue again. It showed me that transitive dependencies do have an impact. I'd highly recommend everybody to add Cargo.lock to version control. The rusqlite version does not matter. I tried 0.29, 0.30 and 0.31.
I'd like to know if anybody faces the same issue and could resolve the warning.
The text was updated successfully, but these errors were encountered:
liblibsqlite3_sys-259f96f036f36e2b.rlib[4](0343851c9008f270-sqlite3.o)) was built for newer 'macOS' version (14.4) than being linked (14.0)
Undefined symbols for architecture arm64:
"_sqlite3_unlock_notify", referenced from:
sqlx_sqlite::statement::unlock_notify::wait::hfe3d56585af2355b in libsqlx_sqlite-3edaa25c8aa266c2.rlib[14](sqlx_sqlite-3edaa25c8aa266c2.sqlx_sqlite.cd4672043e67a62c-cgu.11.rcgu.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@StarArawn please don't mix issues. For me (I can only guess because you gave no much information), your issue is related to using unlock_notify feature. Which is not the case for the original issue.
I use rusqlite v0.29.0 in a mobile cross platform library with the
bundled
feature since 6 months without issues. With recent builds of the Rust library I encounter a warning in Xcode:I think that it is caused by an updated transitive dependency of rusqlite, but cannot proof it, because I followed the old recommendation of adding
Cargo.lock
to.gitignore
. After doing acargo update
a few weeks ago, building rusqlite for iOS x86_64 stopped working and a recentcargo update
solved that issue again. It showed me that transitive dependencies do have an impact. I'd highly recommend everybody to addCargo.lock
to version control. The rusqlite version does not matter. I tried 0.29, 0.30 and 0.31.I'd like to know if anybody faces the same issue and could resolve the warning.
The text was updated successfully, but these errors were encountered: