热点新闻
Resolve Xcode Test stuck
2024-10-19 09:54  浏览:453  搜索引擎搜索“养老之家”
温馨提示:信息一旦丢失不一定找得到,请务必收藏信息以备急用!本站所有信息均是注册会员发布如遇到侵权请联系文章中的联系方式或客服删除!
联系我时,请说明是在养老之家看到的信息,谢谢。
展会发布 展会网站大全 报名观展合作 软文发布

I recently added a XCTest target to my existing project in Xcode to improve my code quality. But when I run the test, Xcode went stuck and keeps showing testing on the toolbar. I wait for about 10 minutes and nothing changed. After about half an hour of searching on the web I got the solution.

Here are the steps:

  1. In the Xcode menu, go to Product -> Schema -> EditSchema -> Test
  2. Under the Test Plans section, you can find your project.
  3. There's a small right arrow icon after the projects name. Click it.
  4. There's an Options button at the right side of the new page. Click it.
  5. A popup is shown, and have a select called Parallelization
  6. Select Swift Testing Only
  7. The editor may ask you to save the configuration, just save it.
  8. Run your test again, and it should work now.

Why this happened?

I've no idea...

But just do it, stop wasting time on the bug.

本文由博客一文多发平台 OpenWrite 发布!

发布人:1376****    IP:124.223.189***     举报/删稿
展会推荐
让朕来说2句
评论
收藏
点赞
转发