xcodebuild: error: Scheme MyApp is not currently configured for the test action. + returnValue=66

Viewed 199

I am facing the below error while running xcodebuild command.

Command:

$ xcodebuild clean build test -workspace MyApp -scheme MyApp 

Error:

Scheme MyApp is not currently configured for the test action

I have analyzed and found that we need to enable the option shared in the scheme. But it is already enabled in my project and still getting this error.

Can help me to find the setting or missing flags? I have also tried to enable Run under Test.

enter image description here

0 Answers
Related