2023-07-19 01:47:56 -06:00
|
|
|
ENV['RCT_NEW_ARCH_ENABLED'] = "1"
|
2023-04-12 23:41:28 -06:00
|
|
|
|
2024-06-30 09:20:28 -06:00
|
|
|
# Resolve react_native_pods.rb with node to allow for hoisting
|
|
|
|
require Pod::Executable.execute_command('node', ['-p',
|
|
|
|
'require.resolve(
|
|
|
|
"react-native/scripts/react_native_pods.rb",
|
|
|
|
{paths: [process.argv[1]]},
|
|
|
|
)', __dir__]).strip
|
|
|
|
|
|
|
|
platform :ios, '13.4'
|
2023-04-12 23:41:28 -06:00
|
|
|
install! 'cocoapods', :deterministic_uuids => false
|
|
|
|
|
2023-05-08 03:53:00 -06:00
|
|
|
target 'FabricExample' do
|
2023-04-12 23:41:28 -06:00
|
|
|
config = use_native_modules!
|
|
|
|
|
|
|
|
use_react_native!(
|
|
|
|
:path => config[:reactNativePath],
|
|
|
|
# Enables Flipper.
|
|
|
|
#
|
|
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
|
|
# you should disable the next line.
|
2024-06-30 09:20:28 -06:00
|
|
|
# :flipper_configuration => FlipperConfiguration.enabled,
|
2023-04-12 23:41:28 -06:00
|
|
|
# An absolute path to your application root.
|
|
|
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
|
|
)
|
|
|
|
|
2023-05-08 03:53:00 -06:00
|
|
|
target 'FabricExampleTests' do
|
2023-04-12 23:41:28 -06:00
|
|
|
inherit! :complete
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
react_native_post_install(
|
|
|
|
installer,
|
2024-06-30 09:20:28 -06:00
|
|
|
config[:reactNativePath],
|
2023-04-12 23:41:28 -06:00
|
|
|
:mac_catalyst_enabled => false
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|