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