Skip to content

Commit

Permalink
(0.71.4) RN IOS Upgrade
Browse files Browse the repository at this point in the history
enable new architecture

don't patchBuildIdPhase & patchJavaPhase TEMP

build without fabric
  • Loading branch information
siddarthkay committed Mar 20, 2023
1 parent 7207d06 commit 38ea58e
Show file tree
Hide file tree
Showing 7 changed files with 2,084 additions and 1,377 deletions.
1 change: 1 addition & 0 deletions ios/.xcode.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export NODE_BINARY=$(command -v node)
28 changes: 21 additions & 7 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '12.4'
platform :ios, min_ios_version_supported
prepare_react_native_project!
# install! 'cocoapods', :deterministic_uuids => false

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

# ENV['RCT_NEW_ARCH_ENABLED'] = "1"

abstract_target 'Status' do
# Pods for StatusQuo
config = use_native_modules!
Expand All @@ -13,16 +22,21 @@ abstract_target 'Status' do

use_react_native!(:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
:hermes_enabled => false,
:fabric_enabled => false,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
post_install do |installer|
react_native_post_install(
installer,
# Set `mac_catalyst_enabled` to `true` in order to apply patches
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end

pod 'react-native-image-resizer', :path => '../node_modules/react-native-image-resizer'
pod 'react-native-config', :path => '../node_modules/react-native-config'
Expand Down
Loading

0 comments on commit 38ea58e

Please sign in to comment.