We always introduce some third-party files when we write some projects, but some of these files are under the MRC and some are under arc. So we're going to convert.
When you introduce a tripartite file, you first read the. h file header information for the file that was introduced.
As the following file: header file requirements: Header Search paths contains/USR/INCLUDE/LIBXML2
Other Linker flags contain-LXML2
So search under Bulid setting
Modify a search after it has been searched
Add one by one to the path required by the. h file, and after the addition is done, the MRC file is run under ARC Engineering
First, under the second group in build phases, look for the. m file of the imported third-party file, double-click the back of the. m file to pop up a cue box, enter -fno-objc-arc in the Prompt box, and then enter it OK.
ios--Introducing MRC files under Arc