Xcode 4.5 no such file or directory - libCordova.a

后端 未结 12 853
隐瞒了意图╮
隐瞒了意图╮ 2020-12-30 21:21

clang: error: no such file or directory: \'/Users/admin/Library/Developer/Xcode/DerivedData/__TESTING__-fzbkvdbnndieeagphtjhdndiyttl/Build/Products/Debug-iphoneos/li

12条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 21:54

    You gotta run the update script, I know it might be a pain in the butt to do it, but that's what it takes.

    Download and open the Phonegap 2.1 package from the official site. Open a terminal window, and cd to the installation directory

    You'll need to first create a new project:

    ./create [project_folder_path] [package_name] [project_name]

    Then you need to set the path to your libraries.

    /update_cordova_subproject [xcodeproj file]

    Now open up your project and set the deployment target to 4.3 and you should be ready to go. Hope that helps

    EDIT:

    This is how my configuration looks like for CordovaLib Project

    enter image description here

提交回复
热议问题