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
  • Loading branch information
siddarthkay committed Mar 17, 2023
1 parent 7f5705a commit e611f2a
Show file tree
Hide file tree
Showing 8 changed files with 2,632 additions and 1,453 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)
24 changes: 19 additions & 5 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 @@ -19,10 +28,15 @@ abstract_target 'Status' do
: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 e611f2a

Please sign in to comment.