File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,6 @@ target 'InstabugSample' do
2727 post_install do |installer |
2828 react_native_post_install ( installer )
2929 __apply_Xcode_12_5_M1_post_install_workaround ( installer )
30- ## Fix for XCode 12.5 beta
31- find_and_replace ( "../node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm" ,
32- "_initializeModules:(NSArray<id<RCTBridgeModule>> *)modules" , "_initializeModules:(NSArray<Class> *)modules" )
3330 end
3431end
35- def find_and_replace ( dir , findstr , replacestr )
36- Dir [ dir ] . each do |name |
37- text = File . read ( name )
38- replace = text . gsub ( findstr , replacestr )
39- if text != replace
40- puts "Fix: " + name
41- File . open ( name , "w" ) { |file | file . puts replace }
42- STDOUT . flush
43- end
44- end
45- Dir [ dir + '*/' ] . each ( &method ( :find_and_replace ) )
46- end
32+
You can’t perform that action at this time.
0 commit comments