xcodebuild:错误:当前未为测试操作配置Scheme MyApp。 +返回值=66
我在运行 xcodebuild 命令时遇到以下错误。
命令:
$ xcodebuild clean build test -workspace MyApp -scheme MyApp
错误:
Scheme MyApp is not currently configured for the test action
我分析发现,我们需要在方案中启用共享选项。但它已经在我的项目中启用,但仍然出现此错误。
可以帮助我找到设置或丢失的标志吗?我还尝试启用“在测试下运行”。
I am facing the below error while running xcodebuild command.
Command:
$ xcodebuild clean build test -workspace MyApp -scheme MyApp
Error:
Scheme MyApp is not currently configured for the test action
I have analyzed and found that we need to enable the option shared in the scheme. But it is already enabled in my project and still getting this error.
Can help me to find the setting or missing flags? I have also tried to enable Run under Test.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论