Cannot run tests on Xcode 6 Beta 5

吃可爱长大的小学妹 提交于 2019-12-03 12:28:46

I have solved this problem by setting code signing as "Don't Code Sign" and cleaning the project (Cmd + Option + Shift + K).

Olaf

Have a look at: https://stackoverflow.com/a/22024428/529243 and https://stackoverflow.com/a/22056161/529243

I had the same error and after working throuhg those steps the problem went away.

Use the XCTest conversion wizard:

Edit > Refactor > Convert to XCTest

I found one solution from github: https://github.com/kiwi-bdd/Kiwi/issues/570 (Thanks to tjarratt @ https://github.com/tjarratt)

Changing the "Wrapper Extension" for your test bundle from octest to xctest.

I had this recently and I discovered that I had added a new XCTest to a target devoted to our older OCTest remnant classes. Just sharing in case it helps anyone in the future.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!