2015-12-09 43 views
0

我面對這個錯誤:爲especific目標xcodebuild聯編測試/方案

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

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

我的情景:3個目標,3種模式。每個主題的一個目標。所以我需要爲每個目標運行UI測試。

我在做什麼錯了?

enter image description here enter image description here

編輯: enter image description here

回答

2

這聽起來像Exclusive方案不包括測試目標。您可以通過在「管理方案」窗口中雙擊方案名稱來添加/刪除它們。

然後點擊底部的+添加您的測試目標。

enter image description here

相關問題