Skip to content

Commit a091151

Browse files
remove m1 pod workaround
1 parent 130eff5 commit a091151

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

InstabugSample/ios/Podfile

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff 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
3431
end
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+

0 commit comments

Comments
 (0)