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

时间:2015-05-08 20:42:31

标签: xcode continuous-integration xcodebuild xcode-workspace

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

就像这样开始。

[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的方案的清理。现在我一直在寻找一个名为测试的计划一小时没有成功。有没有什么办法解决这一问题?我已将所有方案设置为已启用共享并且已禁用自动创建方案。

1 个答案:

答案 0 :(得分:1)

我通过在CI计划上启用Analyze,Test,Profile来修复它。