IOS打包静态库
打静态库
参考链接:
https://www.jianshu.com/p/5ef5e21d887c
https://stackoverflow.com/questions/25800301/xcode-missing-submodule-warning
https://blog.csdn.net/u010960265/article/details/78834106
命令:
lipo -create /Users/ctrl_java/Library/Developer/Xcode/DerivedData/FrameworkTest-gubrlrhczykmplcnxnhgfyvgovzl/Build/Products/Debug-iphoneos/FrameworkTest.framework/FrameworkTest /Users/ctrl_java/Library/Developer/Xcode/DerivedData/FrameworkTest-gubrlrhczykmplcnxnhgfyvgovzl/Build/Products/Debug-iphonesimulator/FrameworkTest.framework/FrameworkTest -output /Users/ctrl_java/Desktop/new/newTest
注意:1、公开库 Project—拖到—public
2、public新添加库需要在FrameworkTest.h文件添加