Xcode project scheme is not currently configured for the test action

is not currently configured for the build action
xcode multiple test targets
module was not compiled for testing
xcode test scheme
xcodebuild
scheme missing xcode
could not find test host for
xcodebuild build-for-testing

I am trying to run an Xcode unit test for my iOS application. I am willing to do it on an iPad connected via USB to a Mac. I am trying to run the test from the command line in order to trigger it from Jenkins later on.

Below is what I'm currently typing into the command line and the error I'm getting. Please help.

The code:

xcodebuild test -scheme MyApplication -destination "platform=iOS,name=iPad"

The error:

Scheme MyApplication is not currently configured for the test action


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

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

Xcodebuild: error: Scheme is not currently configured for the test , xcodebuild: error: Scheme is not currently configured for the test action. Exited with code 66. check if any of the files have absolute path instead  The code: xcodebuild test -scheme MyApplication -destination "platform=iOS,name=iPad". The error: Scheme MyApplication is not currently configured for the test action.


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.

xcodebuild: error: Scheme Companion-cal is not currently , xcodebuild: error: Scheme Companion-cal is not currently configured for the build​-for-testing action. #1381. Closed. zedtux opened this issue  While attempting to run carthage update --platform iOS --no-use-binaries on a remote Bitrise machine with the "Xcode 8.2.x, on macOS 10.12 (Sierra)" stack, I get the following error: Running Carthage command Appending GITHUB_ACCESS_TOKEN


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

Scheme is not currently configured for the test action · Issue #5170 , Scheme is not currently configured for the test action #5170. Closed [23:35:20]: $ set -o pipefail && xcodebuild -scheme proapps -project . Re: Xcode build Scheme not configured for build action Level 1 (0 points) bla123 Apr 3, 2018 2:37 AM ( in response to blackstar26 )


"Scheme not configured for running" with separate test target for , "Scheme not configured for running" with separate test target for swift CLI app is that xcodebuild is being told to do a "build" action instead of just a "test" . to dig further, I'm now using a customized version of xcode-test-mac that runs the  [23:35:21]: xcodebuild: error: Scheme proapps is not currently configured for the test action. Copy link Quote reply TKBurner commented Jun 20, 2016


In my case I had no test file...

Here is a tutorial to perform UI Tests and create screenshots :

https://krausefx.com/blog/run-xcode-7-ui-tests-from-the-command-line

iOS, "xcodebuild: error: Scheme xxxx is not currently configured for the test action" "​The schemes can be added/removed/shared/edited in Xcode via  6. Edit the “Dev PROJECT_NAME” scheme. 7. (Optional) if your project includes Unit and UI Test, add those targets to the list of build targets and select only the test checkbox for each. To add a target, use the ‘+’ action, and select the Unit test and UI test targets. This will allow the scheme to run those test.


Xcode build Scheme not configured …, Scheme "SchemeName" is not currently configured for the clean action. I've checked the "shared" option for my scheme, but now i don't know what to do to solve  The list of Schemes defined for the project appears. Locate the Scheme Bamboo is trying to run; Ensure the 'Shared' box is checked for that scheme and that the 'Container' setting is set to the Workspace and not the project file itself. Click 'OK' to dismiss the Manage Schemes sheet.


Configuring a Scheme to Run Unit Tests, Explains how to incorporate test cases to validate individual units of source code. Xcode Unit Testing Guide. PDF Companion File. Table of  Choose the Scheme menu > Manage Schemes in the toolbar to present the scheme management sheet. In this project there are two schemes, one to build the app and the other to build the library/framework. The checkboxes labeled Shared on the right configure a scheme as shared and available for use by bots with Xcode Server.


Managing iOS Build Configurations and Schemes for XCTest, As a good iOS developer, you must be writing unit and UI tests using XCTest framework. Now that, we will add another build configuration that can be used just level configuration to get this option not the target level configuration. we have modified all the actions to use the xctest build configuration  Ah, so could it be that PusherSwift.xcodeproj is getting specified as the project but then for the shared test schemes (e.g. PusherSwiftTests-iOS), which do then require code that is in the Pods project, that it then can't find the scheme in the Pods project, because it actually belongs to the PusherSwift.xcodeproj project?