XcodeBuild Clean失败 - 对于不存在的方案



我当前正在为工作场所配置连续的集成作业。我遇到了一些问题,希望您能为我提供帮助。

它是这样开始的。

[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)

它说未配置称为测试的方案的清洁。现在,我一直在寻找一个名为"测试的计划"一个小时,没有成功。有没有什么办法解决这一问题?我将所有计划设置为已共享启用,并且自动辩护方案被禁用。

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

相关内容