mahdi
mahdi

Reputation: 459

Xcode Cloud: Unit tests are always failing with same "No such module" error

I have unit tests that are working fine when running locally. However, when I try to add a test action on Xcode Cloud on a specific tag and run it, the test fails on Xcode Cloud. Knowing that I have build and archive actions that works fine.

Here is my Test Action: My Scheme is the project target

and here is the error I see: enter image description here

In SplashScreenViewModelUnitTest I have the following line of code:

@testable import MY_PROJECT_NAME

I tried even to replace the Test with "Use Scheme Settings" where I have my unit test plan added, but getting same error.

Upvotes: 0

Views: 96

Answers (0)

Related Questions