Comments (11)
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
from fbretaincycledetector.
What version of XCode were you running and what iOS version?
from fbretaincycledetector.
您正在运行哪个版本的XCode和哪个iOS版本?
xcode version 11.3.1
iOS version 13.4.1 It runs on my phone
So far I have switched release
from fbretaincycledetector.
I have the same issue on my Xs with iOS 13.2, does not happen on my 6s with iOS 12.4
from fbretaincycledetector.
I have the same issue on my air3 iOS 13.3.1 and iPad Pro 12.9-inch (3rd generation) 13.5.
from fbretaincycledetector.
遇到了同样的问题,iOS13.5.1,运行必crash
from fbretaincycledetector.
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
from fbretaincycledetector.
Same Problem.
iOS 14.0 beta 2, XCode 12 beta 2, MacOS Big Sur
from fbretaincycledetector.
Same Problem.
iOS 13.6, XCode 11.6, MacOS 10.15.5
from fbretaincycledetector.
Xcode 12.1 macOS 11.0.1 (20B29) the same. When I call +[CIFilter filterWithName:withInputParameters:]
from fbretaincycledetector.
Update fishhook to the latest version, contains .h and .c files; Be care for the renames.
from fbretaincycledetector.
Related Issues (20)
- Cannot find any useful information
- Questions about elements in FBBlockStrongLayout
- Xcode 12.5 compile error: Cannot initialize a parameter of type 'id<NSCopying> _Nonnull' with an rvalue of type HOT 13
- There is a small problem in Xcode 12.5
- Xcode 12.5 compile error still exist HOT 1
- fix xcode 12.5 compile file FBClassStrongLayout.mm error HOT 5
- Xcode12.5,文件类中参数错误提示,导致本库无法安装 HOT 2
- This allows a user to switch between volume caches, which increases the HOT 1
- Archive error after updating Xcode 12.5 HOT 3
- iOS15 fishhook crash HOT 7
- Does this library support Mac OS ?
- swift import FBRetainCycleDetector circular reference path cannot be find
- NSGetSizeAndAlignment(): unsupported type encoding spec 'b' at 'b1' in 'b1' HOT 3
- Fb
- Has this repo been abandoned?
- wova
- [FBAssociationManager hook] setup crash HOT 1
- 二维码 CIQRCodeGenerator崩溃 HOT 3
- MobSF reported use of unsecured function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbretaincycledetector.