Open ofri-7chairs opened 3 years ago
@ofri-7chairs I am curious if you ever found a solution to this or what the cause was. Seems to be very hard to find other people with this issue but we currently tried to upgrade to RN 0.64.2 from 0.63.2 and ran into the same issues on both android and IOS.
Seems that it get's stuck on bundleReactNativeCodeAndImages and simply throws no errors and doesn't even time out. Would love to know what happened, thanks.
Some more info: Android failed on bundleReactNativeCodeAndImages for both an Emulator and Real Device. IOS failed to bundleReactNativeCodeAndImages on Real Device but worked on simulator
@gyammine TBH (and unfortunately) I downgrade it back to 0.63.3 and didn't try again to upgrade. I hope that in the next month I will have more time to dive into it and hopefully will be able to solve it. Anyway, my issue was only in iOS and ONLY while archiving (and matched what you describe), build & run worked fine.
I am having the exact same issue, upgraded from 0.63.3 to 0.64.1 local Xcode build is fine but CI build hanging at React Native Code and Images with no errors. Similarly failing android CI build in gradle bundle assets.
before upgrade rn version, I was on 0.63.3 and it worked fine.
currently it runs: export NODE_BINARY=node ../node_modules/react-native/scripts/react-native-xcode.sh
tried also: export NODE_BINARY=$(which_node) without success
Upgrading version
From 063.3 to 0.64.1
node: 12.18.0 npm: 6.14.4 xcode: 12.4