-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathPodfile
More file actions
29 lines (22 loc) · 858 Bytes
/
Podfile
File metadata and controls
29 lines (22 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require_relative '../node_modules/react-native-macos/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../../../scripts/clangd-add-xcode-step.rb'
prepare_react_native_project!
ENV['GH_EXAMPLE_APP_NAME'] = 'MacOSExample'
target 'MacOSExample-macOS' do
platform :macos, '11.0'
use_native_modules!
# Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => '../node_modules/react-native-macos',
:hermes_enabled => false,
:fabric_enabled => ENV['RCT_NEW_ARCH_ENABLED'] == '1',
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
post_install do |installer|
react_native_post_install(installer)
end
add_clangd_generation_step()
end