question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get Realm to work on iOS for React Native 0.58.0

See original GitHub issue

Can’t get Realm to work with iOS with the new React Native 0.58.0. I tried to update from 0.57.x and the iOS project was not compiling. I tried a new project and:

Steps to Reproduce

react-native init YourProject
yarn add realm
react-native link realm

simulator screen shot - iphone x - 2019-01-25 at 16 42 15

Code Sample

https://github.com/ferrannp/realm-react-native-test

Version of Realm and Tooling

  • Realm JS SDK Version: 2.22.0
  • React Native: 0.58.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:52
  • Comments:25 (3 by maintainers)

github_iconTop GitHub Comments

15reactions
cmelchiorcommented, Feb 1, 2019

We are working on fixing it here: https://github.com/realm/realm-js/pull/2242 No ETA yet.

12reactions
reyn-novacommented, Feb 18, 2019

react-native 0.59 is nearly here, I think it’s good to make sure the fix is runable on 0.59, at least tested on 0.59.0-rc.2 version, check if that breaks something new too

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native version mismatch - Stack Overflow
I use rm -rf $TMPDIR/react-* to get rid of any cached builds. If that doesn't work, I try to build the app in...
Read more >
Upgrading React Native to version 0.59 and beyond: a step-by ...
After the upgrade process: · Reset your simulator settings: If you're running an iOS simulator, go to Hardware > Erase all content and...
Read more >
Trouble getting Realm Version 5.0.0 to Work in React-Native ...
The fix for this is simple however. Just go ahead and uninstall version 5, and then install version 4 and all shall be...
Read more >
error: unable to resolve module ./node_modules/expo/appentry ...
I'm trying to use PNPM as a package manager, it actually creates ... React Native Expo errors like "None of these files exist"...
Read more >
realm/my-first-realm-app: ToDo - CodeSandbox
ios. src .babelrc .buckconfig .eslintrc.json .flowconfig .gitattributes .gitignore ... metro.config.js. package-lock.json. package.json. Dependencies. react.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found