摘要:
在引入静态库时,通常需要在"Other Linker Flags"中添加-all_load和-Objc属性,注释如下:IMPORTANT: For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjC from loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_load or -fo 阅读全文
摘要:
【问题描述】在iOS开发中经常会遇到Release和Debug不同版本的lib库文件,通过lipo命令可以把不同平台的lib库文件合并成一个lib库文件,方便使用【问题分析】简单使用方式参考:lipo -create Debug-iphonesimulator/libMAMapKit.a Release-iphoneos/libMAMapKit.a -output libMAMapKit.a 阅读全文