ios - Cordova 3.4.1和calabash-ios

标签 ios cordova calabash

我正在尝试让Calabash与现有的Cordova项目一起工作。我已经按照calabash-io上的说明进行了手动和自动操作。我可以确认手动设置已导致Calabash服务器运行。但是运行Cucumber告诉我它找不到.app文件,我手动输入了.app,它所做的只是循环“xcode-select:错误:未知命令选项'-p'”。几次,然后停止“无法启动。请确保已将APP_BUNDLE_PATH设置为此模拟器版本支持的构建
Calabash::Cucumber::Launcher::StartError:WAITINGUIAutomation运行循环启动时超时。”

最佳答案

在某些版本的MacOS Lion + Xcode上,xcode-select工具缺少-p选项。这导致ios-sim gem引发异常。

解决方案是升级到最新版本的MacOS和Xcode。

关于ios - Cordova 3.4.1和calabash-ios,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23082033/

相关文章:

ios - 以编程方式模仿 iPad 上 iPhone 应用程序的 2x 模式(或双比例)?

Cordova 错误: Using "requireCordovaModule" to load non-cordova module "q" is not supported

android - Calabash-android:附加到正在运行的应用程序

docker - android.test未安装。原因: 'Aborted '

ruby - 遵循 Ruby 中 "Methods return other PageObjects"的测试自动化最佳实践

ios - Coreplot 渲染问题?

objective-c - 具有明显缺陷的 UITableViewRowAnimation

ios - UITableViewCell 中的 UITextView,如何在 tableView 滚动时退出 textview 的 firstResponder?

ios - 如何从 UIAlertView 按钮解除 segues

android - 从Android的phonegap html文件连接到sqlite数据库