【问题标题】:xcodebuild test for especific Target/Scheme特定目标/方案的 xcodebuild 测试
【发布时间】:2015-12-09 16:39:49
【问题描述】:

我遇到了这个错误:

命令: xcodebuild test -scheme Exclusive -destination "platform=iOS"

结果: xcodebuild: error: Scheme Exclusive is not currently configured for the test action.

我的场景:3 个目标,3 个模式。每个主题有一个目标。所以我需要为每个目标运行 UI 测试。

我做错了什么?

编辑:

【问题讨论】:

    标签: ios xcode xcode7 xcodebuild xcode-ui-testing


    【解决方案1】:

    听起来Exclusive 方案不包含测试目标。您可以通过在“管理方案”窗口中双击方案名称来添加/删除它们。

    然后点击底部的+ 添加您的测试目标。

    【讨论】:

      猜你喜欢
      • 2022-08-04
      • 2014-02-01
      • 1970-01-01
      • 2011-07-15
      • 1970-01-01
      • 1970-01-01
      • 2012-08-15
      • 2012-12-31
      • 1970-01-01
      相关资源
      最近更新 更多