1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/Example/testHotUpdate/ios/Podfile

34 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-09-01 15:29:13 +08:00
require_relative '../node_modules/react-native/scripts/react_native_pods'
2019-10-04 18:38:54 +08:00
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
2021-10-05 12:13:17 +08:00
platform :ios, '11.0'
2022-06-01 16:43:43 +08:00
install! 'cocoapods', :deterministic_uuids => false
2019-10-04 18:38:54 +08:00
2022-06-01 16:43:43 +08:00
target 'testHotupdate' do
2020-09-01 15:29:13 +08:00
config = use_native_modules!
2019-10-04 18:38:54 +08:00
2022-06-01 16:43:43 +08:00
# Flags change depending on the env values.
flags = get_default_flags()
2021-04-09 18:23:29 +08:00
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
2022-06-01 16:43:43 +08:00
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
2021-04-09 18:23:29 +08:00
)
2019-10-04 18:38:54 +08:00
2022-06-01 16:43:43 +08:00
2021-04-09 18:23:29 +08:00
# Enables Flipper.
2020-09-01 15:29:13 +08:00
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
2021-04-09 18:23:29 +08:00
# you should disable the next line.
2022-06-01 16:43:43 +08:00
use_flipper!()
2021-04-09 18:23:29 +08:00
2020-09-01 15:29:13 +08:00
post_install do |installer|
2021-04-09 18:23:29 +08:00
react_native_post_install(installer)
2021-10-05 12:13:17 +08:00
__apply_Xcode_12_5_M1_post_install_workaround(installer)
2020-09-01 15:29:13 +08:00
end
2019-10-04 18:38:54 +08:00
end