ios环境

This commit is contained in:
Caiyanpeng committed 2025-12-11 17:55:05 +08:00
1 parent f4d9189cc6
commit f71c0f8d41
8 files changed
+2756 -24

No files matched your search

+5 -1
View File
@@ -8,6 +8,8 @@ require Pod::Executable.execute_command('node', ['-p',
platform :ios, min_ios_version_supported
prepare_react_native_project!
ENV['RCT_NEW_ARCH_ENABLED'] = '0'
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
@@ -20,7 +22,9 @@ target 'dfuapp' do
use_react_native!(
:path => config[:reactNativePath],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
:app_path => "#{Pod::Config.instance.installation_root}/..",
:fabric_enabled => false,
:hermes_enabled => true
)
post_install do |installer|