2021-02-07 16:14:45 +00:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
2020-12-07 20:59:14 +00:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
|
2021-02-07 16:14:45 +00:00
|
|
|
platform :ios, '11.0'
|
2020-12-07 20:59:14 +00:00
|
|
|
|
2021-02-07 16:14:45 +00:00
|
|
|
target 'app' do
|
|
|
|
config = use_native_modules!
|
2020-12-07 20:59:14 +00:00
|
|
|
|
2021-03-29 07:58:03 +00:00
|
|
|
use_react_native!(
|
|
|
|
:path => config[:reactNativePath],
|
|
|
|
# to enable hermes on iOS, change `false` to `true` and then install pods
|
|
|
|
:hermes_enabled => true
|
|
|
|
)
|
2020-12-07 20:59:14 +00:00
|
|
|
|
2021-02-07 16:14:45 +00:00
|
|
|
target 'appTests' do
|
2020-12-07 20:59:14 +00:00
|
|
|
inherit! :complete
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
2021-09-14 11:51:13 +00:00
|
|
|
if !ENV['CI']
|
|
|
|
use_flipper!
|
2021-09-14 11:32:01 +00:00
|
|
|
end
|
2021-05-09 11:46:12 +00:00
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
react_native_post_install(installer)
|
2021-12-16 07:22:20 +00:00
|
|
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
2021-05-09 11:46:12 +00:00
|
|
|
end
|
2020-12-07 20:59:14 +00:00
|
|
|
end
|
|
|
|
|
2021-02-07 16:14:45 +00:00
|
|
|
target 'app-tvOS' do
|
|
|
|
# Pods for app-tvOS
|
2020-12-07 20:59:14 +00:00
|
|
|
|
2021-02-07 16:14:45 +00:00
|
|
|
target 'app-tvOSTests' do
|
2020-12-07 20:59:14 +00:00
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
end
|