facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
117.75k stars 24.16k forks source link

upgrade 0.72.3 to 0.72.4, iOS release failed #39143

Closed TristanLudrow closed 1 month ago

TristanLudrow commented 1 year ago

New Version

0.72.4

Old Version

0.72.3

Build Target(s)

iOS release

Output of react-native info

OS: macOS 13.5.1 CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz Memory: 123.45 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 18.16.1 path: ~/.nvm/versions/node/v18.16.1/bin/node Yarn: version: 1.22.19 path: /usr/local/bin/yarn npm: version: 9.5.1 path: ~/.nvm/versions/node/v18.16.1/bin/npm Watchman: version: 2023.07.10.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.12.1 path: ~/.rvm/gems/ruby-2.7.6/bin/pod SDKs: iOS SDK: Platforms:

Issue and Reproduction Steps

xcode release failed, and exit 1

~/React_uniapp/ios/Pods/../../node_modules/react-native/sdks/hermes-engine/utils/build-hermesc-xcode.sh: line 20: : command not found

++ echo 'Failed to configure Hermesc cmake project.'

Failed to configure Hermesc cmake project.

++ exit 1

github-actions[bot] commented 1 year ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
ghost commented 11 months ago

Same facing error

geronimosuarez commented 7 months ago

Were you able to fix it?

geronimosuarez commented 7 months ago

I just got rid of that error by changing the js engine from hermes to jsc. I'm not using vanilla react native but in Expo you can achieve this by adding the following code jsEngine: "jsc" to your app.json

Screenshot 2024-01-11 at 10 17 11

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 7 days with no activity.