Xcode project scheme is not currently configured for the test action

前端 未结 8 1662
旧巷少年郎
旧巷少年郎 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:18

    Please follow following steps to resolve this error.

    1. Select your project scheme at the top.
    2. Click on Manage Schemes.
    3. Select your test target in the popup.
    4. Make sure to click on Edit button at the bottom left of popup.
    5. Select Build.
    6. Click the checkbox below "Run"
    7. Close the popup.

提交回复
热议问题