简体   繁体   English

Xcode 7崩溃与git

[英]Xcode 7 crash with git

Xcode 7 crashes every time, when I try to commit changes on a specific project. 每当我尝试在特定项目上提交更改时,Xcode 7都会崩溃。 I tried to remove the xcuserdata from project package, as fount on this link . 我试图从项目包中删除xcuserdata,这是在此链接上找到的 I uploaded the crash report. 我上传了崩溃报告。 crash report . 崩溃报告

Is the only solution to restart a brand new project, copy all files, start a new repository and losing all commits done till now? 是迄今为止重启全新项目,复制所有文件,启动新存储库并丢失所有已完成提交的唯一解决方案吗?

Thanks in advance! 提前致谢!

I finally found a workaround for the described crash. 我终于找到了描述的崩溃的解决方法。 As following the advices given here . 正如下面给出的建议在这里

Here my steps: 这是我的步骤:

  • First: I deleted the xcuserdata in the project package 第一:我删除了项目包中的xcuserdata

  • Second: I deleted the xcuserdata in the project.workspace as well 第二:我也删除了project.workspace中的xcuserdata

  • the DerivedData folder DerivedData文件夹

  • and as last step I cleaned the project inside Xcode. 最后一步,我在Xcode中清理了项目。

    This solved the crash. 这解决了崩溃。 May it helps someone with the same issue! 可能会帮助遇到同样问题的人!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM