xcodebuild clean 失败 - 对于一个不存在的方案?

xcodebuild clean failed - for a nonexistant scheme?

我目前正在为我的工作场所配置持续集成作业。我 运行 遇到了一些问题,希望你能帮助我。

是这样开始的

[Info] Loading settings for scheme 'SPONTAN' ... (1764 ms)

=== CLEAN ===

xcodebuild clean SPONTAN
Pods / Pods-ActionSheetPicker-3.0 (Debug)
  ~ Check dependencies (9 ms)
  ~ Remove libPods-ActionSheetPicker-3.0.a (7 ms)
  ~ Remove Pods-ActionSheetPicker-3.0.build (5 ms)
  0 errored, 0 warning (13 ms)

Pods / Pods-ABPadLockScreen (Debug)
  0 errored, 0 warning (13 ms)

~ Check dependencies (10 ms)
~ Remove libPods-ABPadLockScreen.a (7 ms)
~ Remove Pods-ABPadLockScreen.build (5 ms)
Pods / Pods-Bolts (Debug)
  0 errored, 0 warning (12 ms)

...

SPONTAN / SPONTAN (Debug)
      ~ Check dependencies (80 ms)
      ~ Create product structure (0 ms)
--------------------------------------------------------------------------------
/bin/mkdir -p /b/d20150508-639-140oy5t/zios/ABVfrRTRd5bE2Fty/SPONTAN.app
--------------------------------------------------------------------------------
      ~ Remove SPONTAN.app (1 ms)
      ~ Remove SPONTAN-Prefix.pch.pch (1 ms)
      ~ Remove SPONTAN-Prefix.pch.pch (0 ms)
      ~ Remove SPONTAN.app.dSYM (0 ms)
      ~ Remove SPONTAN.build (0 ms)
      0 errored, 0 warning (83 ms)


  xcodebuild build clean
--------------------------------------------------------------------------------
Scheme Tests is not currently configured for the clean action.
--------------------------------------------------------------------------------


** CLEAN FAILED ** (2937 ms)

它说没有配置名为测试的方案的清理。现在我一直在寻找一个名为 Tests 的方案,但没有成功。有没有什么办法解决这一问题?我已将所有方案设置为启用共享并禁用自动创建方案。

我通过在我的 CI 方案上启用分析、测试、配置文件来修复它。