Xcode 只为我提供 iOS 应用程序的桌面架构

发布于 2024-09-27 12:03:46 字数 338 浏览 9 评论 0原文

我有一个 iOS 项目,已放入 Dropbox 中与几个朋友一起工作。问题是它似乎被“损坏”,因此一段时间后(在其他人访问了 Xcode 项目文件之后),当我尝试再次打开它时,我收到 Base SDK Missing 错误。在项目设置中,我发现我缺少适用于 iOS 应用程序的有效 ARM6/ARM7 架构 - 我只能从 32 位或 64 位 Intel 中进行选择。我唯一的其他选择是 i386、各种形式的 PPC 和 x86_64。我根本无法再为 iOS 进行构建。

与我一起工作的其他人似乎都没有这个问题。它存在于 Xcode 3 和 4 中,因此它也不是 Xcode 4 的问题。

还有其他人遇到这个问题吗?有解决办法吗?

I have an iOS project that I've put in Dropbox to work with a few friends. The issue is that it seems to get "corrupted", so that after some time (after someone else has accessed the Xcode project file), when I try to go and open it again I get a Base SDK Missing error. In the Project Settings, I discover that I'm missing the valid ARM6/ARM7 architecture for iOS apps—I can only choose from 32-bit or 64-bit Intel. My only other options are i386, various forms of PPC, and x86_64. I simply can't build for iOS anymore.

No one else that I'm working with seems to have this problem. It exists in both Xcode 3 and 4, so it's not an Xcode 4 issue either.

Is anyone else having this problem? Is there a fix?

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

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

发布评论

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

评论(3

任性一次 2024-10-04 12:03:46

在这些情况下,“清除所有目标”通常是个好主意。我发现,特别是在平台或架构发生变化的 XCode 升级之后,XCode 可能会对以前版本的状态感到困惑。清理,然后重新指定您想要的目标/架构/等,然后重建将会很好地工作。

另外不要忘记,如果您在单击“活动构建设置”下拉列表时按住 Alt(或 Option),将为您提供其他选项。

In these cases it's often a good idea to 'Clean All Targets'. I have found that particularly after upgrades to XCode where platforms or architectures have changed, that XCode can become confused about the state of previous builds. Cleaning, then re-specifying your desired targets/architectures/etc and then rebuilding will work well.

Also don't forget that if you hold Alt (or Option) down when you click on the Active build settings drop down will give you additional options.

我喜欢麦丽素 2024-10-04 12:03:46

可以重新安装XCode吗?此外,将项目托管在源代码控制下可能更明智。

Can you reinstall XCode? Also, it might be wiser to host the project under source control.

初心未许 2024-10-04 12:03:46

呵呵...原来该项目是在4.2 SDK下使用的,而当时我只有4.0,这解释了缺少SDK部分...更新到4.2,现在已经全部修复了。

源代码控制本来就很好,但是没有那么多好的源代码控制来支持我们需要的功能(免费);如果有人有在 OS X 上安装 Subversion 并使用它的指南(无需太技术性阅读终端),我将不胜感激。或者如何使用 Xcode 4 设置 Git(尽管我知道这是在 NDA 下,所以这可能不会发生)。

Hehe...turns out that the project had been used under the 4.2 SDK and at the time I only had 4.0, which explained the missing SDK part...Updated to 4.2 and it's all fixed now.

Source control would've been nice, but there aren't that many good ones that support the features we need (for free); if anyone's got a guide to installing Subversion on OS X and using it (without being too technical read Terminal), I'd appreciate that. Or how to set up Git with Xcode 4 (although I know that's under NDA, so that's probably not going to happen).

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