Skip to content

Commit

Permalink
Update Podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Aug 29, 2023
1 parent e245b55 commit 8114505
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,19 @@ target 'FulaExample' do
end

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
# First part, using 'installer'
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)

# Second part, 'installer' used in place of 'pi'
installer.pods_project.targets.each do |t|
t.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
end
end
end
end

0 comments on commit 8114505

Please sign in to comment.