Xcode 7.x crashes when editing storyboards

2019-03-18 08:33发布

Xcode is crashing very often when I edit storyboards.

I'm working with OS X El Capitan 10.11 and Xcode 7.0.1 (7A1001).

I've experienced crashes mostly when I edit view background colors and view alphas.

The only way to keep going for the moment has been saving after every edition.

It's really annoying though. Have you experience these crashes? Do you know any workaround? Thanks in advance.

EDIT

It also crashes often when editing constraints.

Here's the crash log:

Process:               Xcode [10557]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.0.1 (8228)
Build Info:            IDEFrameworks-8228000000000000~5
App Item ID:           497799835
App External ID:       813434267
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [10557]
User ID:               501

Date/Time:             2015-10-14 12:38:50.754 +0200
OS Version:            Mac OS X 10.11 (15A284)
Report Version:        11
Anonymous UUID:        AE86FBDD-3DF0-170B-2EDC-C5C7B67C46E0

Sleep/Wake UUID:       A5845897-DD62-4799-B12E-DF0EB270E578

Time Awake Since Boot: 95000 seconds
Time Since Wake:       90000 seconds

System Integrity Protection: enabled

Crashed Thread:        36  Dispatch queue: com.apple.root.user-interactive-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000000012639b000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x12639b000:
    CG backing stores      0000000126387000-000000012639b000 [   80K] rw-/rw- SM=PRV  
--> 
    CoreAnimation          000000012639c000-00000001263cb000 [  188K] rw-/rwx SM=PRV  

Application Specific Information:
ProductBuildVersion: 7A1001

EDIT 2

I was hoping that new updates would fix this issue but Xcode 7.1 (7B91b) is still crashing when editing constraints in storyboards, using OS X El Capitan 10.11.1

7条回答
三岁会撩人
2楼-- · 2019-03-18 09:23

I'm experiencing the same issue. Every time I try to edit my storyboard, Xcode decides that it is not willing to operate anymore. I also got the new version of Xcode, namely 7.1.1 (7B1005)

After some trying and experiencing a lot of crashes, I managed to find a workaround. I don't know if it applies to you, but I was using two screens in developing iOS apps. I disconnected one (the non-retina of course)and never experienced this issue again. Right after it I could code, even no restart needed from xCode.

Weird, but since I have little time, the only way to go now.

查看更多
登录 后发表回答