Xcode project scheme is not currently configured for the test action

前端 未结 8 1821
旧巷少年郎
旧巷少年郎 2020-12-29 01:02

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

8条回答
  •  感动是毒
    2020-12-29 01:25

    My problem was that the Tests.swift file was importing a module that no longer existed (I renamed the Targets for the project). Check to make sure all test files are importing currently existing modules.

提交回复
热议问题