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
Just one trick allows you to quickly get free tra...
Some time ago, one of our colleagues bought a new...
[[164463]] This article is a contributed article....
Written by | Wei Shuihua Header Image | foodiesfe...
How terrifying is the reproductive ability of coc...
My name is SuRe. I’m an experienced product perso...
Welcome to the 61st issue of the Nature Trumpet c...
Now, everyone and every company has begun to get ...
This article is divided into two parts. The first...
In March 2018, nine major mobile phone manufactur...
Those who follow WeChat Mini Programs may know th...
Some time ago, Google announced a brand upgrade f...
Article Summary: ● Five steps in copywriting (cla...
According to recent news, global consulting firm ...
With the rise of knowledge payment, audio payment...