Xcode iPhone 14 not working
politrons opened this issue · 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?
Not sure if it's any help but similar error was discussed here: cberner/redb#645
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.
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 :)
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: #54 ? maybe it was also the lack of actually flushing that got you