Xcode:没有方案 [英] Xcode: No Scheme

查看:27
本文介绍了Xcode:没有方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在 Xcode 中打开的项目现在说我有 No Scheme:

I recently opened project in Xcode is now saying I have No Scheme:

当我尝试Manage Schemes时,我无法Autocreate Schemes Now(单独的帖子但可能相关)并且没有列出任何方案:

When I try and Manage Schemes I am unable to Autocreate Schemes Now (a separate post but possibly related) and no Schemes are listed:

当我尝试添加一个 Scheme 时,我得到一个对话框,上面写着 Target None.

and when I try and add a Scheme I get dialog saying Target None.

发生了什么,我该如何修复我的 Xcode 项目?

What's going on and how do I fix my Xcode project?

推荐答案

关闭 Xcode 并从 .xcodeproj/xcuserdata/中删除文件夹 .xcuserdatad.然后重启Xcode,scheme应该会重新出现.

Close Xcode and delete the folder <username>.xcuserdatad from within <projectname>.xcodeproj/xcuserdata/. Then restart Xcode, the schemes should re-appear.

您可能需要从 .xcodeproj 文件和 .xcworkspace 文件中删除

You may need to delete from .xcodeproj file and .xcworkspace file

这篇关于Xcode:没有方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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