Restore installing DevSupport to all the config

Summary:
CircleCI was broken because we changed how the `React-Core/DevSupport` pod is installed.

## Changelog:
[Internal] - Restore the installation of React-Core/DevSupport

Reviewed By: cortinico

Differential Revision: D46734714

fbshipit-source-id: 9b8c28837f0485ed0df2f94e417f89b5f0077c7d
This commit is contained in:
Riccardo Cipolleschi
2023-06-14 12:03:26 -07:00
committed by Facebook GitHub Bot
parent 202b965fed
commit 875f6a7086
3 changed files with 4 additions and 5 deletions
@@ -22,8 +22,7 @@ class FlipperTests < Test::Unit::TestCase
# Assert
assert_equal($podInvocationCount, 1)
assert_equal($podInvocation['React-Core/DevSupport'][:path], "../../" )
assert_equal($podInvocation['React-Core/DevSupport'][:configurations], ["Debug"] )
assert_equal($podInvocation['React-Core/DevSupport'][:path], "../../")
end
# ======================= #
@@ -20,8 +20,8 @@ $flipper_default_versions = {
# when the dependencies are installed for a non production app.
#
# @parameter pathToReactNative: the path to the React Native installation
def install_flipper_dependencies(pathToReactNative, configurations: ["Debug"])
pod 'React-Core/DevSupport', :path => "#{pathToReactNative}/", :configurations => configurations
def install_flipper_dependencies(pathToReactNative)
pod 'React-Core/DevSupport', :path => "#{pathToReactNative}/"
end
@@ -166,7 +166,7 @@ def use_react_native! (
# Flipper now build in Release mode but it is not linked to the Release binary (as specified by the Configuration option)
if flipper_configuration.flipper_enabled
install_flipper_dependencies(prefix, :configurations => flipper_configuration.configurations)
install_flipper_dependencies(prefix)
use_flipper_pods(flipper_configuration.versions, :configurations => flipper_configuration.configurations)
end