1

在 iOS 上重置模拟器后第一次运行 cucumber 时出现以下错误:

Could not parse response ''; the app has probably crashed (RuntimeError)

第二种情况也失败并出现以下错误:

Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265))
Failing... Errno::ECONNREFUSED
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265))
Retrying.. Errno::ECONNREFUSED: (Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265))
Failing... Errno::ECONNREFUSED
When I setup credentials without password                                 # features/step_definitions/setup_steps.rb:10
  Connection refused - connect(2) for "localhost" port 37265 (http://localhost:37265) (Errno::ECONNREFUSED)

我做错了什么 - 还是在 xcode 中运行应用程序一次,然后按照应有的方式运行 cucumber?

4

1 回答 1

1

我希望其他人能给出一个我可以用来关闭线程的答案,但既然他们没有,让我来做吧——当我们在将葫芦更新到 14 之前重置模拟器时,我们曾经遇到过葫芦崩溃的问题。

我们决定在重置模拟器后简单地在 xcode 上运行应用程序一次,但现在,即使这样也不是必需的。因此,这个问题不是问题。

于 2015-05-27T06:53:46.780 回答