Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode iPhone 14 not working #43

Open
politrons opened this issue Sep 21, 2023 · 10 comments
Open

Xcode iPhone 14 not working #43

politrons opened this issue Sep 21, 2023 · 10 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@politrons
Copy link

politrons commented Sep 21, 2023

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?

@Dimchikkk
Copy link
Contributor

Not sure if it's any help but similar error was discussed here: cberner/redb#645

@politrons
Copy link
Author

politrons commented Oct 5, 2023 via email

@Dimchikkk
Copy link
Contributor

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.

@politrons
Copy link
Author

politrons commented Oct 5, 2023 via email

@Dimchikkk
Copy link
Contributor

Dimchikkk commented Oct 5, 2023

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

@politrons
Copy link
Author

politrons commented Oct 5, 2023 via email

@extrawurst
Copy link
Contributor

extrawurst commented Mar 9, 2024

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

@johanhelsing johanhelsing added bug Something isn't working help wanted Extra attention is needed labels Mar 14, 2024
@johanhelsing
Copy link
Owner

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

@extrawurst
Copy link
Contributor

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
Copy link
Contributor

@StaffEngineer maybe you ran into this issue: #54 ? maybe it was also the lack of actually flushing that got you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants