bevy_pkv
bevy_pkv copied to clipboard
Xcode iPhone 14 not working
In my iPhone 12 It works, but using Xcode virtual iPhone 14 is not working.
It's failing for latest version 0.8.0
linking with cc
failed: exit status: 1
could not compile redb
(lib) due to previous error
Any documentation of how to use version 0.7.0?
Not sure if it's any help but similar error was discussed here: https://github.com/cberner/redb/issues/645
I’m afraid I cannot apply this change, if I do it fail in the make run.
The funny part is that with version 0.7.0 it works.
Any change to make it work with version 0.7.0? Amy documentation available?
Regards.
On 4 Oct 2023, at 22:58, StaffEngineer @.***> wrote:
Not sure if it's any help but similar error was discussed here: cberner/redb#645 https://github.com/cberner/redb/issues/645 — Reply to this email directly, view it on GitHub https://github.com/johanhelsing/bevy_pkv/issues/43#issuecomment-1747631529, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPVSPIZR6I3KONKRYB257TX5XEYHAVCNFSM6AAAAAA5BGROI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXGYZTCNJSHE. You are receiving this because you authored the thread.
The previous version of the lib had another default backend for native target. You can still enable it:
Alternatively, disable default-features and enable the rocksdb feature to use a RocksDB-based implementation or sled feature to use sled db.
You can enable sled
db but it had a bug... it wasn't cleaning storage on my machine.
Any documentation to follow what you’re suggesting.?Sorry very new on this ecosystem Enviado desde mi iPhoneEl 5 oct 2023, a las 17:13, StaffEngineer @.***> escribió: The previous version of the lib had another default backend for native target. You can still enable it:
Alternatively, disable default-features and enable the rocksdb feature to use a RocksDB-based implementation or sled feature to use sled db.
You can enable sled db but it had a bug... it wasn't cleaning storage on my machine.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Not sure there is much documentation except readme but you can try:
bevy_pkv = {version = 0.8, default-features = false, features = ["bevy", "sled"] }
or
bevy_pkv = {version = 0.8, default-features = false, features = ["bevy", "rocksdb"] }
for enabling other backends.
But sled
db looks unmaintained and rocksdb
is not rust backend :)
Thanks a lot with sled it works Enviado desde mi iPhoneEl 5 oct 2023, a las 17:21, StaffEngineer @.***> escribió: Not sure there is much documentation except readme but you can try: bevy_pkv = {version = 0.8, default-features = false, features = ["bevy", "sled"] } or bevy_pkv = {version = 0.8, default-features = false, features = ["bevy", "rocksdb"] }
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
running into the same issue. weirdly enough it works with arm64-sim.
by switching to the sled
backend I got it to work
I don't own any apple devices, but if anyone wants to work on this, any help would be much appreciated.
Ok i looked a bit more into it and I think it is not a bevy_pkv
problem but a problem in the build scripts that bevy and the game_template ship. If I build the mobile lib manually upfront instead of having the magic shell-script do it that ships with bevy-xcode projects then xcode happily works with redb
@StaffEngineer maybe you ran into this issue: https://github.com/johanhelsing/bevy_pkv/pull/54 ? maybe it was also the lack of actually flushing that got you