summaryrefslogtreecommitdiff
path: root/ios/Podfile
diff options
context:
space:
mode:
Diffstat (limited to 'ios/Podfile')
-rw-r--r--ios/Podfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/ios/Podfile b/ios/Podfile
new file mode 100644
index 0000000..99555b0
--- /dev/null
+++ b/ios/Podfile
@@ -0,0 +1,34 @@
1# Resolve react_native_pods.rb with node to allow for hoisting
2require Pod::Executable.execute_command('node', ['-p',
3 'require.resolve(
4 "react-native/scripts/react_native_pods.rb",
5 {paths: [process.argv[1]]},
6 )', __dir__]).strip
7
8platform :ios, min_ios_version_supported
9prepare_react_native_project!
10
11linkage = ENV['USE_FRAMEWORKS']
12if linkage != nil
13 Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
14 use_frameworks! :linkage => linkage.to_sym
15end
16
17target 'iHealthScanner' do
18 config = use_native_modules!
19
20 use_react_native!(
21 :path => config[:reactNativePath],
22 # An absolute path to your application root.
23 :app_path => "#{Pod::Config.instance.installation_root}/.."
24 )
25
26 post_install do |installer|
27 react_native_post_install(
28 installer,
29 config[:reactNativePath],
30 :mac_catalyst_enabled => false,
31 # :ccache_enabled => true
32 )
33 end
34end