-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fishhook.c crash #96
Comments
What version of XCode were you running and what iOS version? |
xcode version 11.3.1 So far I have switched release |
I have the same issue on my Xs with iOS 13.2, does not happen on my 6s with iOS 12.4 |
I have the same issue on my air3 iOS 13.3.1 and iPad Pro 12.9-inch (3rd generation) 13.5. |
遇到了同样的问题,iOS13.5.1,运行必crash |
When I try to create barcode with "CIFilter *filter = [CIFilter filterWithName:@"CIQRCodeGenerator"];",it crashes 100% on iOS13 under debug mode, while release mode is workable, same same crash issue with the screenshoot |
Same Problem. iOS 14.0 beta 2, XCode 12 beta 2, MacOS Big Sur |
Same Problem. iOS 13.6, XCode 11.6, MacOS 10.15.5 |
Xcode 12.1 macOS 11.0.1 (20B29) the same. When I call +[CIFilter filterWithName:withInputParameters:] |
Update fishhook to the latest version, contains .h and .c files; Be care for the renames. |
Hot fix in Xcode 13, push this code into your Podfile: pod 'MLeaksFinder', :configurations => ['Debug']
post_install do |installer|
## Fix for XCode 12.5
find_and_replace("Pods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.mm",
"layoutCache[currentClass] = ivars;", "layoutCache[(id<NSCopying>)currentClass] = ivars;")
## Fix for XCode 13.0
find_and_replace("Pods/FBRetainCycleDetector/fishhook/fishhook.c",
"indirect_symbol_bindings[i] = cur->rebindings[j].replacement;", "if (i < (sizeof(indirect_symbol_bindings) / sizeof(indirect_symbol_bindings[0]))) { \n indirect_symbol_bindings[i]=cur->rebindings[j].replacement; \n }")
end push end of the file: def find_and_replace(dir, findstr, replacestr)
Dir[dir].each do |name|
text = File.read(name)
replace = text.gsub(findstr,replacestr)
if text != replace
puts "Fix: " + name
File.open(name, "w") { |file| file.puts replace }
STDOUT.flush
end
end
Dir[dir + '*/'].each(&method(:find_and_replace))
end |
The text was updated successfully, but these errors were encountered: