可可豆荚.xcworkspace缺少我的项目

发布于 2025-01-26 23:40:41 字数 443 浏览 2 评论 0原文

我今天刚刚开始学习有关可可录,老实说,我非常迷路。在教程中,安装Cocoapods创建了一个新的.xcworkspace文件,该文件既有其豆荚和原始项目。但是,我的新.xcworkspace文件从之前缺少我的所有工作(我的应用程序,代码和预览等)。该项目显示在文件导航器中,但我无法将其展开或打开以访问我的工作文件。

在下面的屏幕截图中,您可以看到“>”标志表明我可以下拉图标并打开文件的文件,而不是我的应用程序项目。

我在做什么错,如何将实际的实际应用程序文件放入此.xcworkspace文件中?

I've just started learning about CocoaPods today and I'm honestly very lost. In a tutorial, installing CocoaPods created a new .xcworkspace file, which had both their Pods and their original project. However, my new .xcworkspace file is missing all of my work from before (my app and code and previews etc). The project shows up in the file navigator, but I can't expand it or open it to access my work files.

In the screenshot below, you can see how there the ">" sign that signifies that I can dropdown the icon and open my files is there for the Pods project, but not my app project.

enter image description here

What am I doing wrong, and how can I get the rest of my actual app files into this .xcworkspace file?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

比忠 2025-02-02 23:40:41

关闭所有Xcode Windows,然后打开您的工作区文件,而没有其他包含您项目的文件。

您不能同时开放项目和项目的工作空间。

Close all Xcode windows and then just open your workspace file, no other files that contain your project.

You can't have your project and a workspace with your project open at the same time.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文