【问题标题】:How to run cordova with xcode 7.2?如何使用 xcode 7.2 运行科尔多瓦?
【发布时间】:2015-12-09 23:35:59
【问题描述】:

我在外面找不到一个正常运行的移动应用程序框架。我最后的希望科尔多瓦得到了以下错误:

onsenui-tab-bar  cordova run ios
Running command: /Users/me/Development/onsenui-tab-bar/platforms/ios/cordova/run
simctl was not found.
Check that you have Xcode 6.x installed:

xcodebuild --versionCheck that you have Xcode 6.x selected:
xcode-select --print-path

ERROR running one or more of the platforms: 
Error: /Users/me/Development/onsenui-tab-bar/platforms/ios/cordova/run: 
Command failed with exit code 2 
You may not have the required environment or OS to run this project

如何让它在 Mac OSX El Capitan 上运行?

【问题讨论】:

  • 您使用的是什么版本的科尔多瓦? cordova -version 的输出?
  • 认为您使用的是旧版本的cordova,更新并尝试sudo npm update -g cordova
  • @SimonPrickett 我用的是 5.4.1
  • @manukv 命令没有增加版本。

标签: cordova xcode7 osx-elcapitan


【解决方案1】:

由于我遇到了同样的问题,我猜这个问题与第一次安装 Xcode 有关。对我来说,启动 Xcode 至少可以解决一次问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-03-27
    • 2019-06-03
    • 2020-04-09
    • 1970-01-01
    • 1970-01-01
    • 2018-06-03
    • 1970-01-01
    相关资源
    最近更新 更多