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
Recently, Yuan Zhiliang's team at the Beijing...
In the eyes of more people nowadays, computer ins...
[51CTO.com original article] When a technical tea...
How much does it cost to join a beauty mini progr...
Calcium supplementation, a topic that runs throug...
The jailbreak tool for iOS 11~iOS 14.3 released v...
Product Positioning This is the direction of prod...
In the many marketing copy screen-sweeping incide...
What strange diseases have you heard of? Let'...
In the first quarter of this year, the new energy...
Although few people connect their phones to compu...
All advertising copy is intended to guide users t...
Although people with poor sleep have their own su...
As the gossip center of the entire Internet, Weib...
At the Build conference yesterday, Microsoft rele...