lipo -create SQY/iOS/iphoneos/libGamePlusAPI.a SQY/iOS/iphonesimulator/libGamePlusAPI.a - output SQY/iOS/libGamePus.a
当中SQY/iOS/iphoneos/libGamePlusAPI.a //为真机库。
SQY/iOS/iphonesimulator/libGamePlusAPI.a //为模拟器库
-output SQY/iOS/libGamePus.a //为两个合并后存放的路径
然后能够输入命令測试下是否成功 :lipo -info SQY/iOS/libGamePus.a
//以下是输出 armv7 i386 有了两个就表情模拟器和真机都支持,当中armv7为真机架构 i386为模拟器
Architectures in the fat file: SQY/iOS/libGamePus.a are: armv7 i386