Skip to content

Commit

Permalink
LUN-445: add command to podfile to exclude arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
f1sh1918 committed Oct 6, 2022
1 parent 5de080a commit fdb4889
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,15 @@ target 'Lunes' do
# you should disable these next few lines.
# use_flipper!()

# Added the excluded_arch fix for M1 chips and cocoapods

post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64"
end
end
end
end

0 comments on commit fdb4889

Please sign in to comment.