在终端键入如下命令:
lipo -create /Users/kangyufeng/Downloads/BaiduMap_IOSSDK_v2.4.1_All/BaiduMap_IOSSDK_v2.4.1_Lib/Release-iphoneos/libbaidumapapi.a /Users/kangyufeng/Downloads/BaiduMap_IOSSDK_v2.4.1_All/BaiduMap_IOSSDK_v2.4.1_Lib/Release-iphonesimulator/libbaidumapapi.a -output /Users/kangyufeng/Downloads/libbaidumapapi.a
三个路径分别为:真机.a文件、模拟器.a文件、合并后.a文件的存放路径
时间: 2024-10-07 02:49:55