Xcode project scheme is not currently configured for the test action Xcode project scheme is not currently configured for the test action xcode xcode

Xcode project scheme is not currently configured for the test action


For me the problem was that no tests were added to my scheme:

Scheme Editor

By adding test bundles to my scheme via the '+' button then the scheme could be built by Xcode and xcodebuild.


For everyone struggling with this problem.

My solution was to:

  1. Select Test Target
  2. Manage Scheme
  3. Select Run in the left menu
  4. Select Info in the tab
  5. Choose Executable Target from the dropdown menu
  6. Hit Close.


Fixed this up by removing duplicate schemes from Xcode. The schemes can be added/removed/shared/edited in Xcode via Product -> Scheme -> Manage Schemes.