【问题标题】:Running XCTest on iphone device在 iphone 设备上运行 XCTest
【发布时间】:2014-02-20 23:11:30
【问题描述】:

我正在尝试在 iphone 设备上运行 XCTest,但 Xcode 显示以下消息。

"Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator." 

有什么方法可以在设备上运行 XCTest?

谢谢, 开发

【问题讨论】:

    标签: xctest


    【解决方案1】:

    好的。我发现使用 GHUnit 我们可以在 iphone 设备上运行单元测试。它在内部使用 xctest。这是您设置GHUnit 的方法。

    我能够按照说明使用 xcode 5 设置单元测试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-06-17
      • 1970-01-01
      • 1970-01-01
      • 2011-03-07
      • 2011-06-16
      • 1970-01-01
      • 2012-07-22
      • 1970-01-01
      相关资源
      最近更新 更多