1. ARC & MRC mixed development What should I do if I encounter a third-party library developed using MRC during project development? For example: ASI 1> Try to use Xcode's conversion tool (high failure rate) 2> In the compilation options, add the -fno-objc-arc tag to the MRC program, indicating that the file is compiled using MRC. Remark: (1) The RegexKitLite used in the demonstration also needs to import the libicucore.dylib dynamic library (2) If you want to add ARC files to the MRC project, you can use the -fobjc-arc flag. 3> Compile MRC's third-party library directly into a static library for use Note: When compiling a static library, you cannot add a dynamic library reference illustrate: RegexKitLite is a regular expression category added to NSString *** In the project, if the static library used contains classification, you need to add the -ObjC option in the Other Link Flag |
>>: Five core points: How to carry out refined operations of mobile games
IDC recently released the 2022 V2 version of the ...
Windows Phone, Android and iOS are generally recog...
Guiyang sauna and bath, do you know what services...
As a traditional Western festival, Christmas has ...
Paying for beauty has become a daily routine for ...
One of the major changes that the much-anticipate...
January 5 (Reporter Zhang Xiaodong) The end of 20...
Programmers' mathematics class consolidates b...
Basic guidelines 1. First of all, when writing co...
1. Monitor screen rotation direction When dealing...
About Summer A cool-down device is a must --"...
Liu Kunkun's 2021 Zero-Based Commercial Illus...
Microsoft has been particularly active recently, ...
Cyborg, this term often appears in science fictio...