Skip to content

Commit

Permalink
Merge pull request #379 from digitalfabrik/LUN-445-fix-pods-m1
Browse files Browse the repository at this point in the history
LUN-445: Fix pods m1
  • Loading branch information
f1sh1918 authored Oct 6, 2022
2 parents 5de080a + a74b0c2 commit 86f048e
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 https://github.com/mrousavy/react-native-vision-camera/issues/914

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 86f048e

Please sign in to comment.