• 对百度地图SDK中的真机framework和模拟器framework合并时遇到的问题


    在终端中输入的命令:

    lipo -create
    Release-iphoneos/BaiduMapAPI.framework/BaiduMapAPI
    Release-iphonesimulator/BaiduMapAPI.framework/BaiduMapAPI
    -output
    Release-iphoneos/BaiduMapAPI.framework/BaiduMapAPI

    注意:
    Release-iphoneos/BaiduMapAPI.framework/BaiduMapAPI 为真机 framework 的路径 ;
    Release-iphonesimulator/BaiduMapAPI.framework/BaiduMapAPI 为模拟器 framework 的路径 ;
    -output 后面的 Release-iphoneos/BaiduMapAPI.framework/BaiduMapAPI 为合并之后的路径。

    在终端中输入上述命令行后会遇到例如以下错误:

    xcrun: error: active developer path (“/Applications/Xcode 2.app/Contents/Developer”) does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select)

    解决方式:

    在终端里运行例如以下命令就可以解决:
    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

  • 相关阅读:
    yii2增删改查及AR的理解
    yii2中关联查询
    yii2常用的migrate命令
    有线电视网
    选课
    没有上司的舞会
    [ZJOI2008]骑士
    【模板】树链剖分
    [ZJOI2008]树的统计
    [NOI2015]软件包管理器
  • 原文地址:https://www.cnblogs.com/wgwyanfs/p/7255486.html
Copyright © 2020-2023  润新知