IOS Project Other Linker Flags

Source: Internet
Author: User

For 64-bit and iphone OS Apps

The workaround is to use-all_load or-force_load.

-all_load forces the linker to load all object files, even those without the OC code, from all the documents it can see .

The-force_load applies to the xcode3.2+ version, which allows finer to get control of document loading. Each-force_load operation must follow a document path, and each object file in the document will be loaded.

-all_load is to load all the members in the static library file,

-OBJC is to load all the members of a class or category in a static library file.

-force_load (the path to the package) is all members in the static library file that will load the specified path.

Before I met a problem

Say file not found for LIBAPPENTENTIVECONNECT.A. Because the file I have deleted, I always can not understand why the total error in archive engineering. Finally found that Force_load will force the load

Follow the path in the back. That is, $ (built_products_dir)/libappententiveconnect.a. Then delete the two. There's no problem with the project.

IOS Project Other Linker Flags

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.