Skip to content

Commit

Permalink
Update new_architecture.rb for React-ImageManager
Browse files Browse the repository at this point in the history
fix: test for new arch

Squashed commit of the following:

commit dce55b0
Author: Bill Bell <bbell@exclusiveresorts.com>
Date:   Wed Jul 19 21:48:27 2023 -0600

    fix: test for new arch

commit 51e8515
Author: William Bell <williambell9708@outlook.com>
Date:   Fri Jul 7 15:47:00 2023 -0600

    Update new_architecture.rb for React-ImageManager
  • Loading branch information
billnbell authored and billnbell3 committed Jul 21, 2023
1 parent 1706066 commit 39f06cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def test_installModulesDependencies_whenNewArchEnabledAndNewArchAndNoSearchPaths
{ :dependency_name => "React-graphics" },
{ :dependency_name => "React-utils" },
{ :dependency_name => "React-debug" },
{ :dependency_name => "React-ImageManager" },
{ :dependency_name => "React-rendererdebug" },
{ :dependency_name => "hermes-engine" }
])
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native/scripts/cocoapods/new_architecture.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def self.install_modules_dependencies(spec, new_arch_enabled, folly_version)
header_search_paths << "\"${PODS_CONFIGURATION_BUILD_DIR}/React-RCTFabric/RCTFabric.framework/Headers\""
header_search_paths << "\"${PODS_CONFIGURATION_BUILD_DIR}/React-utils/React_utils.framework/Headers\""
header_search_paths << "\"${PODS_CONFIGURATION_BUILD_DIR}/React-debug/React_debug.framework/Headers\""
header_search_paths << "\"${PODS_CONFIGURATION_BUILD_DIR}/React-ImageManager/React_ImageManager.framework/Headers\""
header_search_paths << "\"$(PODS_CONFIGURATION_BUILD_DIR)/React-rendererdebug/React_rendererdebug.framework/Headers\""
end
header_search_paths_string = header_search_paths.join(" ")
Expand Down Expand Up @@ -140,6 +141,7 @@ def self.install_modules_dependencies(spec, new_arch_enabled, folly_version)
spec.dependency "React-graphics"
spec.dependency "React-utils"
spec.dependency "React-debug"
spec.dependency "React-ImageManager"
spec.dependency "React-rendererdebug"

if ENV["USE_HERMES"] == nil || ENV["USE_HERMES"] == "1"
Expand Down

0 comments on commit 39f06cc

Please sign in to comment.