ios--Introducing MRC files under Arc

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.