当我打开.swift/.xib文件时XCode 8.1崩溃 [英] XCode 8.1 crashes when I open .swift/.xib file
问题描述
我以前已经安装了XCode 7.3,并通过AppStore将其更新为8.1.当项目打开时(XCode 8.1,Swift 3.0,Mac OS X El Capitan 10.11.6),我正在尝试打开任何文件(.swift/.xib/.storyboard/.plist/.coredata等),XCode只会崩溃
I had previously installed XCode 7.3 and updated it to 8.1 through the AppStore. When the project opened(XCode 8.1, Swift 3.0, Mac OS X El Capitan 10.11.6) I'm trying to open any file(.swift/.xib/.storyboard/.plist/.coredata etc.) the XCode just crashes.
这是我的XCode 8.1崩溃日志: https://gist.github.com/anonymous/339bffc7b67100ae5e82012393cb00bd
Here is the my Crash Log of XCode 8.1: https://gist.github.com/anonymous/339bffc7b67100ae5e82012393cb00bd
推荐答案
尝试以下步骤,可能会解决问题:
Try below steps, it may solve problem:
- 打开Finder窗口并导航到您的项目
- 右键单击
.xcodeproj
文件(实际上是一个包) - 选择显示包装内容
- 出现新窗口
- 删除一个名为
xcuserdata
的文件夹
- Open a Finder window and navigate to your project
- Right-click on the
.xcodeproj
file (it’s a package actually) - Select Show Package Contents
- New window appears
- Delete a folder called
xcuserdata
此外,清除派生数据文件夹.
一些有用的链接:
-
这篇关于当我打开.swift/.xib文件时XCode 8.1崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!