XCode 7:无法将OCUnit转换为XCTest [英] XCode 7: Unable to Convert OCUnit to XCTest

查看:77
本文介绍了XCode 7:无法将OCUnit转换为XCTest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将XCode升级到7.0,并遇到了编译问题. XCode要求我将测试目标转换为使用XCTest,然后按照向导屏幕进行操作. 我找不到任何测试目标,无法完成转换.

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 ?

谢谢.

推荐答案

确保已选择测试目标的方案(在左上方的方案选择器中),然后选择Edit->转换->到XCTest ... 这将使Xcode识别适当的目标.

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.

这篇关于XCode 7:无法将OCUnit转换为XCTest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆