参考: 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
时间: 2024-10-10 13:40:52