xcodebuild test on Xcode 14: Could not find test host for DoSomethingElseTests: TEST_HOST evaluates

956 Views Asked by At

I'm running the following command to build and test my project:

xcodebuild -sdk iphonesimulator -configuration DoSomethingElse -project DoSomethingElse.xcodeproj -scheme DoSomethingElse -destination "platform=iOS Simulator,name=iPhone 8 Plus" test

But I'm getting this error:

Reason: Could not find test host for DoSomethingElseTests: TEST_HOST evaluates

enter image description here

But I run the unit test using XCode IDE works just fine.

enter image description here

Any of you knows what I'm doing wrong?, or if there is a way around this?

I'll really appreciate your help

0

There are 0 best solutions below