我正在使用OSX El Capitan和最新版本的XCode来开发iOS应用程序。每当我尝试创建一个新文件时,在我命名该类后按下“下一步”后XCode崩溃。除了Swift之外,我尝试创建的每一类课程都会发生这种情况。
Here is the first part of the error report.
Process: Xcode [4081]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.2 (6776)
Build Info: IDEFrameworks-6776000000000000~11
App Item ID: 497799835
App External ID: 811566096
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4081]
User ID: 501
Date/Time: 2015-10-07 01:04:49.658 -0400
OS Version: Mac OS X 10.11 (15A284)
Report Version: 11
Anonymous UUID: 8CCC711A-6D41-8C93-1D5D-699FE67CA08C
Sleep/Wake UUID: FC38EBBC-3DF3-4728-A20A-8477D6919684
Time Awake Since Boot: 1800 seconds
Time Since Wake: 62 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
Sending goNextOrFinish: to <IDEAssistantWindowController: 0x7fbf5ec43190> from <NSButton: 0x7fbf5ec38d10>
ProductBuildVersion: 6C131e
ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-6776/IDEKit/Assistants/IDECompletionDestinationManager.m:357
Details: Assertion failed: [childItems count] == 1
Object: <IDECompletionDestinationManager: 0x7fbf5cfc1050>
Method: -workspaceNavigableItem
Thread: <NSThread: 0x7fbf597038b0>{number = 1, name = main}
Hints:
0: Sending goNextOrFinish: to <IDEAssistantWindowController: 0x7fbf5ec43190> from <NSButton: 0x7fbf5ec38d10>
答案 0 :(得分:0)
我猜你的系统中Xcode安装不正确。刚退出Xcode重新安装它。
答案 1 :(得分:0)
退出Xcode并从AppStore重新安装。
答案 2 :(得分:0)
我的朋友在工作时必须进行全面安装以使其正常工作(不从时间机器恢复),我没有任何问题,我们的iMac在规格上是相同的。
它可能与alcatraz插件直接相关(如果您使用的话),或Yosemite中提供的软件,并且它无法正常升级到El Capitan