We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 130eff5 commit a091151Copy full SHA for a091151
InstabugSample/ios/Podfile
@@ -27,20 +27,6 @@ target 'InstabugSample' do
27
post_install do |installer|
28
react_native_post_install(installer)
29
__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")
33
end
34
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
45
- Dir[dir + '*/'].each(&method(:find_and_replace))
46
-end
+
0 commit comments