XCode 中的 SVN pbxuser 损坏

发布于 2024-09-25 01:54:28 字数 447 浏览 2 评论 0原文

我是 SVN 新手,如果这是显而易见的,我很抱歉(没有运气谷歌搜索它,并且已经使用了几天)。

我已经设置了一个由 Unfuddle 托管的 Subversion 存储库,并且在我的 iMac 和 MacBook Pro 之间一切正常,直到我收到一条错误消息,指出项目文件已变得无法读取。在删除两台计算机上的工作副本并重新检查项目后,我发现 iMac 上的用户设置文件 (dave.pbxuser) 显示的状态为 M反对它,而它在我的 MacBook 上显示为 ?

我认为 pbxuser 应该是全局忽略配置的一部分,并且永远不应该有一个 M 反对它。如果我从 iMac 提交整个项目,项目文件会再次损坏。

罪魁祸首是 pbxuser 在 iMac 上以某种方式受到源代码控制吗?有什么想法这是怎么发生的以及如何纠正吗?

干杯

戴夫

Am new to SVN, so sorry if this is obvious (had no luck Googling it, and been on it for a couple of days).

I have set up a Subversion repository hosted by Unfuddle and all was working well working between my iMac and my MacBook Pro until I got an error message saying the project file had become unreadable. After deleting my working copies on both machines and checking the project back out I have tracked it down to the fact that my user settings file on my iMac (dave.pbxuser) is showing up with a status of M against it, whereas it shows up as ? on my MacBook.

I thought pbxuser should be part of the global ignore config and should never have an M against it. If I commit the entire project from the iMac the project file becomes corrupted again.

Is the fact that pbxuser is somehow under source control on the iMac the culprit? Any ideas how this happened and how to rectify?

Cheers

Dave

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

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

发布评论

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

评论(1

孤独患者 2024-10-02 01:54:28

好的,我已经解决了这个问题。不漂亮但有效。在 SCM 存储库菜单下,我选择其中包含导致问题的项目的存储库。重要的是这个项目当时还没有开放。找到 .xcodeproj 文件并单击它。这实际上是其他 3 个文件的包装,其中之一是 .pbxuser。选择 .pbxuser 文件并将其从存储库中删除。为了恢复并运行,我删除了工作副本,然后再次检查了整个项目。不确定 pbxuser 文件首先是如何添加到源代码管理中的,但现在它对 ? 感到非常满意。在我的两台机器上都反对它。

希望这对某人有用,

戴夫

OK I have worked around this issue. Not pretty but it works. Under the SCM repositories menu, I choose the repository with the project in it that is causing the problem. It is important that this project is not open at the time. Find the .xcodeproj file and click on it. This is actually a wrapper for 3 other files one of which is .pbxuser. Select the .pbxuser file and delete it from the repository. To get back up and running, I deleted my working copy and then checked out the whole project again. Not sure how the pbxuser file got added to source control in the first place, but now it is quite happy with a ? against it on both my machines.

Hope this is some use to someone,

Dave

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