XCode 7: Unable to Convert OCUnit to XCTest

北战南征 提交于 2019-12-22 10:34:18

问题


I upgraded the XCode to 7.0 and ran into compilation issues. XCode asked me to convert my test target to use XCTest and I followed the wizard screen. I'm unable to find any test targets and cannot finish converting.

Does any one know how to fix this ?

Thanks.


回答1:


Make sure you have selected the scheme of your test target (in the top-left scheme selector), then select Edit -> Convert -> To XCTest... This will make Xcode recognize the appropriate target.



来源:https://stackoverflow.com/questions/32707166/xcode-7-unable-to-convert-ocunit-to-xctest

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