xcode 制作静态库文件(.a)

参考: http://www.jb51.net/article/37853.htm

摘要: 

       1. 获取.a文件的信息   
           lipo -info /Users/pjk1129/Desktop/libPrint.a 

       2. 整合模拟器与设备文件
           lipo -create /Users/pjk1129/Library/Developer/Xcode/DerivedData/Print-dgfkluumuexoxhcapzidtsmdgqcj/Build/Products/Release-iphonesimulator/libPrint.a  /Users/pjk1129/Library/Developer/Xcode/DerivedData/Print-dgfkluumuexoxhcapzidtsmdgqcj/Build/Products/Release-iphoneos/libPrint.a  -output /Users/pjk1129/Desktop/libPrint.a

posted on 2015-06-11 20:55  Games  阅读(213)  评论(0编辑  收藏  举报