IOS Universal Static Framework Manual turn XCode COCOA Framework

Source: Internet
Author: User

You do not have to create project again to manually change project settings.


First step: In the project file, change the type, remove the static

1. Search for wrapper.framework.static, remove static

2. Search for ProductType, change to Com.apple.product-type.framework


Step Two: You also need to change the project settings:

Clang_warn_unreachable_code = YES;


Current_project_version = 1;


Enable_strict_objc_msgsend = YES;


Versioning_system = "Apple-generic";


Defines_module = YES;


Dylib_install_name_base = "@rpath";


Install_path = "$ (local_library_dir)/frameworks";


Ld_runpath_search_paths = "$ (inherited) @executable_path/frameworks @loader_path/frameworks";


Clang_allow_non_modular_includes_in_framework_modules = YES;


Step three: Copy framework in Build Phase

(delete three script)


Fourth step: Need to set code Signing Identity

No need to select a detailed certificate, automatic can

IOS Universal Static Framework Manual turn XCode COCOA Framework

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.