require "../../../packages/react-native/scripts/cocoapods/autolinking.rb" platform :ios, min_ios_version_supported prepare_react_native_project! linkage = ENV['USE_FRAMEWORKS'] if linkage != nil Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green use_frameworks! :linkage => linkage.to_sym end target 'HelloWorld' do config = use_native_modules!(['sh', '../scripts/config.sh']) use_react_native!( :path => "../../../packages/react-native", # An absolute path to your application root. :app_path => "#{Pod::Config.instance.installation_root}/.." ) target 'HelloWorldTests' do inherit! :complete # Pods for testing end post_install do |installer| # scripts/react_native_pods.rb react_native_post_install( installer, config[:reactNativePath], :mac_catalyst_enabled => false, # :ccache_enabled => true ) end end