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

Realm example app crashes with no customization #415

Open
rootedsoftware opened this issue Mar 24, 2023 · 0 comments
Open

Realm example app crashes with no customization #415

rootedsoftware opened this issue Mar 24, 2023 · 0 comments

Comments

@rootedsoftware
Copy link
Contributor

rootedsoftware commented Mar 24, 2023

Describe the bug
After following the instructions to create an app here
https://github.com/expo/examples/tree/master/with-realm I'm getting the error message, "[UIKitCore] Info.plist contained no UIScene configuration dictionary (looking
for configuration named "(no name)")". The app is being installed, but immediately crashes when trying to open.

To Reproduce
Steps to reproduce the behavior:

  1. Using the instructions here https://github.com/expo/examples/tree/master/with-realm
  2. Run npx create-react-native-app MyAwesomeRealmApp -t with-realm
  3. after that finishes, cd into MyAwesomeRealmApp
  4. Run yarn ios to build and run the app

Expected behavior
I'm using the exact instructions from the readme, so the expected behavior is that the app would run and not crash.

Desktop (please complete the following information):

  • OS: iOS
  • Version latest version of the SDK from the npx command, version 48

Smartphone (please complete the following information):

  • Device: iPhone 14 Pro Max simulator on M1 Macbook Pro
  • OS: iOS 16.2
@rootedsoftware rootedsoftware changed the title Readme example app crashes with no customization Realm example app crashes with no customization Apr 4, 2023
rootedsoftware added a commit to rootedsoftware/examples that referenced this issue Apr 5, 2023
According to this https://github.com/realm/realm-js/blob/main/COMPATIBILITY.md compatibility chart, Realm needed to have a higher version, this is why it was crashing on load. expo#415. I also noticed that just updating these versions isn't enough to make it work. I had to delete my node_modules, yarn.lock and ios folder, then reinstall and run `yarn ios` to get everything going.
douglowder added a commit that referenced this issue Oct 28, 2023
According to this https://github.com/realm/realm-js/blob/main/COMPATIBILITY.md compatibility chart, Realm needed to have a higher version, this is why it was crashing on load. #415. I also noticed that just updating these versions isn't enough to make it work. I had to delete my node_modules, yarn.lock and ios folder, then reinstall and run `yarn ios` to get everything going.

Co-authored-by: Douglas Lowder <[email protected]>
Zeus-Aphrodite pushed a commit to Zeus-Aphrodite/reactnativeApp that referenced this issue Mar 6, 2024
According to this https://github.com/realm/realm-js/blob/main/COMPATIBILITY.md compatibility chart, Realm needed to have a higher version, this is why it was crashing on load. expo/examples#415. I also noticed that just updating these versions isn't enough to make it work. I had to delete my node_modules, yarn.lock and ios folder, then reinstall and run `yarn ios` to get everything going.

Co-authored-by: Douglas Lowder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant