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
|
|
|
|
|
|
|
|
# Enables Flipper.
|
|
|
|
#
|
|
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
2021-03-29 07:58:03 +00:00
|
|
|
# you should disable the next line.
|
|
|
|
use_flipper!()
|
2021-05-09 11:46:12 +00:00
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
react_native_post_install(installer)
|
|
|
|
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
|