From 2dc20c5dc72be24b8293fbc82c7120c8e66299de Mon Sep 17 00:00:00 2001 From: Christian Falch Date: Thu, 22 May 2025 11:52:07 +0200 Subject: [PATCH] [ios][prebuild] fix wrong directory in hermes prebuild check When checking if we should download hermes artifacts, the path to the folder we're checking was wrong, causing hermes to always be downloaded. This commit fixes this by renaming it from `Libraries` -> `Library` --- packages/react-native/scripts/ios-prebuild/hermes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/scripts/ios-prebuild/hermes.js b/packages/react-native/scripts/ios-prebuild/hermes.js index 0c4fc60c828..5f9033acab9 100644 --- a/packages/react-native/scripts/ios-prebuild/hermes.js +++ b/packages/react-native/scripts/ios-prebuild/hermes.js @@ -116,7 +116,7 @@ function checkExistingVersion( const hermesXCFramework = path.join( artifactsPath, 'destroot', - 'Libraries', + 'Library', 'Frameworks', 'universal', 'hermes.xcframework',