1

I recently updated my Mac to OS.12.6 Sierra.

Previously working React Native (nothing fancy just their AwesomeProject sample app) stopped working.

When I run react-native run-ios I am able to launch the simulator the app just appears, and then crashes back to the iphone app screen without any error messages.

I have uninstalled and reinstalled react-native-cli, upgraded brew, watchman and reinstalled node modules..but no luck

Anyone has any pointers on this ?

7
  • Have you tried to uninstall the app in simulator? Have you tried to clear watchman using watchman watch-del-all? Commented Sep 3, 2017 at 8:43
  • @wlisrausr yes...i have tried both of them (clearing watchman and deleting app from simulator)..its a puzzling one..right ? :) Commented Sep 3, 2017 at 9:16
  • Yeah, it is. So, you didn't modified anything inside this sample app? Commented Sep 3, 2017 at 9:27
  • what version of react-native are you using? Commented Sep 3, 2017 at 9:41
  • I did not make any changes...just did react-native init <appname>...after the app was generated...did a cd to that folder and started the emulator via react-native run-ios Commented Sep 3, 2017 at 10:43

2 Answers 2

1

I was having the same issues too after upgrading to Sierra 10.12.6.

I resolved by running create-react-native-app <folder>

And then I ejected it with yarn run eject

yarn run ios after, and the app seems stable.

Sign up to request clarification or add additional context in comments.

Comments

0

I found out the rootcause of the issue.

Looks like this is a bug with the latest version.

Facebook has acknowledged this as a bug.

The workaround is to create the project with an older version like 0.44

https://github.com/facebook/react-native/issues/15770

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.