react-native: [iOS] 0.56.0 React Native version mismatch. regeneratorRuntime is not defined
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
Run react-native info
in your terminal and paste its contents here.
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 130.34 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.1.0 - /usr/local/bin/node
Yarn: 1.6.0 - /usr/local/bin/yarn
npm: 6.0.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 23.0.2, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.1, 27.0.3
API Levels: 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4720617
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.2 => 16.4.2
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
react-native-calendario: 0.0.2
react-native-cli: 2.0.1
react-native-create-bridge: 1.2.2
react-native-create-library: 3.1.2
react-native-git-upgrade: 0.2.7
Description
React Native version mismatch.
JavaScript version: 0.56.0 Native version: 0.55.3
Make sure that you have rebuilt the native code. If the problem persists try clearing the Watchman and packager caches with
watchman watch-del-all && react-native start --reset-cache
. regeneratorRuntime is not defined
It only happens in iOS on Debug mode. It works fine on Release mode or Android.
Reproducible Demo
https://github.com/maggialejandro/react-native-calendario/tree/fix-react-native-0.56.0
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (2 by maintainers)
Reset cache wasn’t worked for me. For me, deleting whole build file and restart worked.
Have you fully uninstalled the app on the simulator/device? It’s possible that the build may be failing and instead launching a previous version of the app.
i have the same issue. This only happens when I run
react-native run-ios
, but if i run project direct with XCode, it works fine. And it only happens in iOS. Does anyone have other ideas why it that so?Yes I’ve done that. Here you can reproduce the issue It happens on iOS only (debug build)
@maggialejandro How would I do that correctly? Remove the React.xcodeproj from Libraries in Xcode and add it again?
That error is saying that your app was built & installed with RN 0.55.3 and you’re trying to run it with a javascript bundle that has RN 0.56. You need to rebuild & reinstall the app using
react-native run-ios / run-android