bevy_pkv icon indicating copy to clipboard operation
bevy_pkv copied to clipboard

Xcode iPhone 14 not working

Open politrons opened this issue 1 year ago • 10 comments

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?

politrons avatar Sep 21 '23 09:09 politrons

Not sure if it's any help but similar error was discussed here: https://github.com/cberner/redb/issues/645

Dimchikkk avatar Oct 04 '23 20:10 Dimchikkk

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.

politrons avatar Oct 05 '23 14:10 politrons

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.

Dimchikkk avatar Oct 05 '23 15:10 Dimchikkk

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: @.***>

politrons avatar Oct 05 '23 15:10 politrons

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 :)

Dimchikkk avatar Oct 05 '23 15:10 Dimchikkk

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: @.***>

politrons avatar Oct 05 '23 16:10 politrons

running into the same issue. weirdly enough it works with arm64-sim. by switching to the sled backend I got it to work

extrawurst avatar Mar 09 '24 17:03 extrawurst

I don't own any apple devices, but if anyone wants to work on this, any help would be much appreciated.

johanhelsing avatar Mar 14 '24 09:03 johanhelsing

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

extrawurst avatar Mar 15 '24 11:03 extrawurst

@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

extrawurst avatar Apr 04 '24 13:04 extrawurst