1. ARC & MRC Hybrid Development
What happens to third-party libraries that are developed using MRC in project development?
For example: ASI
1> Attempt to use Xcode's conversion tool (high failure rate)
2> in the Compile option, add the-FNO-OBJC-ARC tag for the MRC program, indicating that at compile time, the file uses MRC to compile
Note:
(1) The Regexkitlite used in the demo also needs to be imported into the Libicucore.dylib dynamic library
(2) If you want to add an arc file to an MRC project, you can use the-FOBJC-ARC tag to
3> Compile the MRC third-party library directly into a static library using
Note: You cannot add a dynamic library reference when compiling a static library
Description
Regexkitlite is a regular expression category that is added to NSString
In a project, if you are using a static library that contains classifications, you need to add the-OBJC option to the other Link flag
Some workarounds for IOS Arc vs. MRC