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

31 lines
976 B
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'
2023-04-02 12:51:43 +08:00
platform :ios, '12.4'
install! 'cocoapods', :deterministic_uuids => false
2023-01-26 22:23:37 +08:00
2023-04-02 12:51:43 +08:00
production = ENV["PRODUCTION"] == "1"
2023-01-26 22:23:37 +08:00
2023-04-02 12:51:43 +08:00
target 'AwesomeProject' 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],
2023-04-02 12:51:43 +08:00
# to enable hermes on iOS, change `false` to `true` and then install pods
:production => production,
2022-06-01 16:43:43 +08:00
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
2024-07-08 23:39:26 +08:00
:flipper_configuration => false,
2022-06-01 16:43:43 +08:00
# 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
2020-09-01 15:29:13 +08:00
post_install do |installer|
2023-04-02 12:51:43 +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
2023-02-19 18:20:21 +08:00
end