upgrade-support icon indicating copy to clipboard operation
upgrade-support copied to clipboard

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

Open ofri-7chairs opened this issue 4 years ago • 3 comments

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

  • after downgrading back to 0.63.3, I could archive again

ofri-7chairs avatar May 24 '21 06:05 ofri-7chairs

@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 avatar Aug 13 '21 15:08 gyammine

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

ofri-7chairs avatar Aug 22 '21 06:08 ofri-7chairs

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.

v-san048 avatar Sep 12 '21 04:09 v-san048