react-native-macos/sdks/hermes-engine
Dmitry Rykun 0d3d00287c Backport fix copy-hermes-xcode.sh from 0.71-stable (#35431)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35431

`[ -f "$source" ]` was wrong.
`man test` reads:
>  -f file       True if file exists and is a regular file.
-e file       True if file exists (regardless of type).

hermes.framework is not a regular file but a directory. `-e` is beter here.
Also intermediate destiantion directories are now created if they didn't exist.

Changelog:
[iOS][Fixed] - Make copy-hermes-xcode.sh more reliable.

Reviewed By: robhogan

Differential Revision: D41472846

fbshipit-source-id: 87de0b48d178ca542299b8e5fa741fdc0570d4e2
2022-11-22 09:17:33 -08:00
..
utils Backport fix copy-hermes-xcode.sh from 0.71-stable (#35431) 2022-11-22 09:17:33 -08:00
hermes-engine.podspec Remove `HERMES_BUILD_FROM_SOURCE` flag (#35397) 2022-11-21 05:21:39 -08:00
hermes-utils.rb Consume Hermes from Maven in release (#35116) 2022-10-28 07:17:19 -07:00