react-native-community / upgrade-support

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

iOS upgrade to 0.64.1 from 0.63.3 - can't archive, stuck on Bundle React Native code and images #165

Open ofri-7chairs opened 3 years ago

ofri-7chairs commented 3 years ago

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

gyammine commented 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

ofri-7chairs commented 3 years ago

@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.

v-san048 commented 3 years ago

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.