mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
25 lines
893 B
Ruby
25 lines
893 B
Ruby
require_relative '../../node_modules/react-native/scripts/react_native_pods'
|
|
require_relative '../../node_modules/react-native-unimodules/cocoapods.rb'
|
|
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
platform :ios, '11.0'
|
|
|
|
target 'ReactNavigation' do
|
|
use_unimodules!({ modules_paths: ['../../node_modules'] })
|
|
config = use_native_modules!
|
|
|
|
use_react_native!(:path => config[:reactNativePath])
|
|
|
|
# Uncomment the code below to enable Flipper.
|
|
#
|
|
# You should not install Flipper in CI environments when creating release
|
|
# builds, this will lead to significantly slower build times.
|
|
#
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work.
|
|
#
|
|
use_flipper!('Flipper' => '0.75.1', 'Flipper-Folly' => '2.5.3', 'Flipper-RSocket' => '1.3.1')
|
|
post_install do |installer|
|
|
flipper_post_install(installer)
|
|
end
|
|
end
|