icuke 与 xcode 4 次
有人让 iCuke 与 XCode 4 一起工作吗?
我正在尝试按照 http://pragprog.com 上的 iCuke 教程进行操作/magazines/2010-07/bdd-on-iphone-icuke
尝试运行第一个功能时出现超时错误:
Given "QuickContacts.xcodeproj" is loaded in the simulator # iCuke-0.6.3/lib/icuke/cucumber.rb:197
execution expired (Timeout::Error)
/opt/local/lib/ruby/1.8/timeout.rb:64:in `start'
/opt/local/lib/ruby/1.8/net/http.rb:1035:in `request'
features/add_contact.feature:7:in `Given "QuickContacts.xcodeproj" is loaded in the simulator'
Anyone get iCuke to work with XCode 4?
I'm trying to follow the iCuke tutorial at http://pragprog.com/magazines/2010-07/bdd-on-iphone-icuke
I get a time out error when trying to run the first feature:
Given "QuickContacts.xcodeproj" is loaded in the simulator # iCuke-0.6.3/lib/icuke/cucumber.rb:197
execution expired (Timeout::Error)
/opt/local/lib/ruby/1.8/timeout.rb:64:in `start'
/opt/local/lib/ruby/1.8/net/http.rb:1035:in `request'
features/add_contact.feature:7:in `Given "QuickContacts.xcodeproj" is loaded in the simulator'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
几天前,我在让这个(更准确地说是 iCuke)工作时遇到了各种各样的问题。恐怕最终我放弃了它并转而选择 Frank 。
也就是说,我和 Frank 遇到了同样的问题,但我找到了比修复 XCode 集成更好的解决方案(恕我直言)。看看这个项目:我做了一个黄瓜步骤来在模拟器中启动我的二进制文件,而无需需要使用粗糙的 Applescript 来说服 XCode 执行您的命令。也许你可以为 iCuke 做类似的事情?
对于任何感兴趣的人......我们的步骤如下所示:
I had all kinds of problems getting this (more precisely iCuke in general) to work a few days ago. I'm afraid in the end I abandonded it and went for Frank instead.
That said I had the same problem with Frank but I found a better solution to the problem than fixing the XCode integration (imho). Take a look at this project: I whipped up a cucumber step to boot my binaries in the simulator without the need for crufty Applescripts that convince XCode to do your bidding. Perhaps you can do something similar for iCuke?
For anyone interested...our step looks something like this:
在对 xcode 进行一些修改之后,我能够解决超时问题。
如果启用“通用访问”,这个问题似乎可以解决:
点击“Xcode -> Preferences->Documentation”,确保选择Universal Access。
After tinkering around a little bit in xcode, I was able to get past the timeout issue.
It looks like this can be resolved if "Universal Access" is enabled:
Click on "Xcode -> Preferences->Documentation" , ensure that Universal Access is selected.