File tree Expand file tree Collapse file tree 4 files changed +262
-252
lines changed Expand file tree Collapse file tree 4 files changed +262
-252
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,18 @@ target 'testing' do
46
46
post_install do |installer |
47
47
react_native_post_install ( installer )
48
48
49
- # This is needed for Apple Silicon (M1) builds https://github.com/facebook/react-native/issues/31941
50
49
installer . aggregate_targets . each do |aggregate_target |
51
50
aggregate_target . user_project . native_targets . each do |target |
52
51
target . build_configurations . each do |config |
53
- config . build_settings [ 'LIBRARY_SEARCH_PATHS' ] = [ '$(SDKROOT)/usr/lib/swift' , '$(inherited)' ]
52
+ # Arch selection is needed to work across M1/Intel macs, became necessary when App Check was added
54
53
config . build_settings [ 'ONLY_ACTIVE_ARCH' ] = 'YES'
55
54
config . build_settings [ 'EXCLUDED_ARCHS' ] = 'i386'
56
55
end
57
56
end
58
57
aggregate_target . user_project . save
59
58
end
59
+
60
+ # This is needed until react-native gets transitive dependencies fixed
60
61
__apply_Xcode_12_5_M1_post_install_workaround ( installer )
61
62
end
62
63
end
You can’t perform that action at this time.
0 commit comments