react-native-community / upgrade-support

A central community-backed place to request and give help when upgrading your app.
MIT License
251 stars 2 forks source link

RN Upgrade iOS App 0.68.2 -> 0.71.7: No live reload/fast refresh, no hermes #234

Open KleinCoding opened 1 year ago

KleinCoding commented 1 year ago

Environment

MacbookPro 2021, apple M1 chip. iOS only app (no android)

System: OS: macOS 13.3.1 CPU: (10) arm64 Apple M1 Pro Memory: 76.77 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 18.16.0 - /usr/local/bin/node Yarn: Not Found npm: 9.5.1 - /usr/local/bin/npm Watchman: 2023.04.24.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.12.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: 14.3/14E222b - /usr/bin/xcodebuild Languages: Java: 17.0.7 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: ^0.71.7 => 0.71.7 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Things I’ve done to figure out my issue

Google, stackoverflow, combed through upgrade helper output. Tried disabling/enabling various options such as hermes, flipper..

Upgrading version

0.71.7

Description

After updating to 0.71.7, build is successful and app runs. However changes made to the code are not reflected live. Even rebooting the app doesn't work. In order to see changes I have to start the app again via npx react-native run-ios --scheme AppName_Dev

Not sure if Hermes is working either, I do not see Hermes as a target in chrome inspector. Hermes flags are enabled/set to true.

Metro commands (reload, dev menu) don't work. It says there are no apps connected to Metro, but the app is running in simulator.

developer menu will not open

Reproducible demo

Unsure how to reproduce as I am unsure what has caused the issue..

Ayan4 commented 11 months ago

Noob question, but why did you specifically chose v0.71.7 to upgrade to ? Why not the latest one v0.72.3 ? I was researching about upgrading my app and was curious about the thought behind upgrading to a specific version and not the most recent one. Thanks!