Skip to content

Commit

Permalink
Merge pull request #70 from functionland/swift-issue
Browse files Browse the repository at this point in the history
Update Podfile
  • Loading branch information
ehsan6sha authored Aug 29, 2023
2 parents e245b55 + 8114505 commit b1b707a
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 b1b707a

Please sign in to comment.