xcodebuild:错误:当前未为测试操作配置Scheme MyApp。 +返回值=66

发布于 2025-01-11 08:20:03 字数 528 浏览 3 评论 0原文

我在运行 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.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文