El Capitan beta 6 + Xcode

El Capitan beta 6 broke my two Xcode, 6.4 and 7.

Someone with the same problem?


I'll reinstall both.

Answered by gc. in 38499022

The supported way to disable System Integrity Protection in those cases where it's truly necessary is to boot into the Recovery partition and turn System Integrity Protection off from there with the csrutil tool.


$ csrutil

usage: csrutil <command>

Modify the System Integrity Protection configuration. All configuration changes apply to the entire machine.

Available commands:

disable

Disable the protection on the machine. Requires a reboot.

enable

Enable the protection on the machine. Requires a reboot.

status

Display the current configuration.


The kext-dev-mode and rootless boot-args are being removed from OS X El Capitan and will no longer work.


--gc

I also had to do the same magic with the watchkit simulator dyld_sim at /Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/lib/


After that, everything seems to work. Great find and thank you for sharing.

Thanks! Works perfectly!

It works with Xcode 6 too! \o/

It works with both. Just assure you do the same thing to watch simulator if you're opening a watchKit xib/storyboard (check my post above)

Yep, I forgot to do same thing with XCode 6. Now both 6 and 7 work fine.

THKS. I back to BETA6 to try it!

Thanks for the fix saved my Life !🙂

Thank you very much!

Thanks !!!!!!!!!!!!

Thanks! That worked for me (Xcode 6 and 7).


This is a simple shell onliner (using your current Xcode):


sudo find $(xcode-select -p) -name '*dyld_sim*' -exec mv -v {} {}.orig \;

Following Your Workaround. I had update to BETA 6 again.

Now, Xcode 7 can load Storyboard. But When load *.swift will be crash. This is error:

Process: Xcode [2872]

Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 7.0 (8178.7)

Build Info: IDEFrameworks-8178007000000000~3

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Xcode [2872]

User ID: 501



Date/Time: 2015-08-05 23:06:53.996 +0800

OS Version: Mac OS X 10.11 (15A244d)

Report Version: 11

Anonymous UUID: 93B1F982-AD44-F234-9A2D-7D1A5D89FF46





Time Awake Since Boot: 3100 seconds



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:

ProductBuildVersion: 7A165t

ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-8135.1/InterfaceBuilder/RemoteToolCommunication/IBObjectMarshalling.m:694

Details: Failed to launch remote tool: Encountered an error communicating with Interface Builder WatchKit Tool. (Failure reason: Interface Builder WatchKit Tool (2919) failed to launch and exited with signal 11): Failed to communicate with Interface Builder (Failure reason: The agent crashed: /Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/Library/PrivateFrameworks/IBFoundation.framework/IBFoundation

)

Object: <IBClassValueMarshaller>

Method: +valueForKeyPath:ofClassNamed:usingMarshaller:targetRuntime:context:explicitScaleFactor:diagnosticsBlock:

Thread: <NSThread: 0x7fcdb8707180>{number = 1, name = main}

Hints: None

Backtrace:

0 0x0000000105a6a00d -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)

1 0x000000010465d23d _DVTAssertionHandler (in DVTFoundation)

2 0x000000010465d454 _DVTAssertionFailureHandler (in DVTFoundation)

3 0x00000001133686dc (in IDEInterfaceBuilderCocoaTouchIntegration)

4 0x0000000113368287 (in IDEInterfaceBuilderCocoaTouchIntegration)

5 0x000000011334bd07 (in IDEInterfaceBuilderCocoaTouchIntegration)

6 0x000000011334c429 (in IDEInterfaceBuilderCocoaTouchIntegration)

7 0x0000000104697ff8 __DVTDispatchAsync_block_invoke (in DVTFoundation)

8 0x00007fff8f1b05cf _dispatch_call_block_and_release (in libdispatch.dylib)

9 0x00007fff8f1ac409 _dispatch_client_callout (in libdispatch.dylib)

10 0x00007fff8f1bdbd2 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)

11 0x00007fff9616b5c9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)

12 0x00007fff9612657d __CFRunLoopRun (in CoreFoundation)

13 0x00007fff96125b78 CFRunLoopRunSpecific (in CoreFoundation)

14 0x00007fff8c2243e5 RunCurrentEventLoopInMode (in HIToolbox)

15 0x00007fff8c22417b ReceiveNextEventCommon (in HIToolbox)

16 0x00007fff8c223fbb _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)

17 0x00007fff992c9ae7 _DPSNextEvent (in AppKit)

18 0x00007fff99695ac5 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)

19 0x0000000104c1db50 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)

20 0x00007fff992bf986 -[NSApplication run] (in AppKit)

21 0x00007fff99241e9a NSApplicationMain (in AppKit)

22 0x00007fff902f15ad start (in libdyld.dylib)


abort() called



Application Specific Signatures:

tool



Global Trace Buffer (reverse chronological seconds):

20.391587 CFNetwork 0x00007fff98c55d6b TCP Conn 0x7fcdbaed6030 SSL Handshake DONE

20.864569 CFNetwork 0x00007fff98c55c47 TCP Conn 0x7fcdbaed6030 starting SSL negotiation

20.866020 CFNetwork 0x00007fff98c544eb TCP Conn 0x7fcdbaed6030 complete. fd: 36, err: 0

20.867606 CFNetwork 0x00007fff98c53a9d TCP Conn 0x7fcdbaed6030 event 1. err: 0

21.098761 CFNetwork 0x00007fff98c5327b TCP Conn 0x7fcdbaed6030 started

21.144685 CFNetwork 0x00007fff98dd5f1d Creating default cookie storage with process/bundle identifier

21.144685 CFNetwork 0x00007fff98dd5eb5 Faulting in CFHTTPCookieStorage singleton

21.144685 CFNetwork 0x00007fff98c39d41 Faulting in NSHTTPCookieStorage singleton

21.146818 CFNetwork 0x00007fff98cf7276 NSURLConnection finished with error - code -1100



Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0 libsystem_kernel.dylib 0x00007fff8f9d10ae __pthread_kill + 10

1 libsystem_pthread.dylib 0x00007fff92169665 pthread_kill + 90

2 libsystem_c.dylib 0x00007fff98fc53fb abort + 129

3 com.apple.dt.IDEKit 0x0000000105a69c04 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1481

4 com.apple.dt.IDEKit 0x0000000105a6a1e4 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1202

5 com.apple.dt.DVTFoundation 0x000000010465d23d _DVTAssertionHandler + 562

6 com.apple.dt.DVTFoundation 0x000000010465d454 _DVTAssertionFailureHandler + 407

7 com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration 0x00000001133686dc 0x113316000 + 337628

8 com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration 0x0000000113368287 0x113316000 + 336519

9 com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration 0x000000011334bd07 0x113316000 + 220423

10 com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration 0x000000011334c429 0x113316000 + 222249

11 com.apple.dt.DVTFoundation 0x0000000104697ff8 __DVTDispatchAsync_block_invoke + 69

12 libdispatch.dylib 0x00007fff8f1b05cf _dispatch_call_block_and_release + 12

13 libdispatch.dylib 0x00007fff8f1ac409 _dispatch_client_callout + 8

14 libdispatch.dylib 0x00007fff8f1bdbd2 _dispatch_main_queue_callback_4CF + 1685

15 com.apple.CoreFoundation 0x00007fff9616b5c9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

16 com.apple.CoreFoundation 0x00007fff9612657d __CFRunLoopRun + 1949

17 com.apple.CoreFoundation 0x00007fff96125b78 CFRunLoopRunSpecific + 296

18 com.apple.HIToolbox 0x00007fff8c2243e5 RunCurrentEventLoopInMode + 235

19 com.apple.HIToolbox 0x00007fff8c22417b ReceiveNextEventCommon + 432

20 com.apple.HIToolbox 0x00007fff8c223fbb _BlockUntilNextEventMatchingListInModeWithFilter + 71

21 com.apple.AppKit 0x00007fff992c9ae7 _DPSNextEvent + 1076

22 com.apple.AppKit 0x00007fff99695ac5 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 440

23 com.apple.dt.DVTKit 0x0000000104c1db50 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 247

24 com.apple.AppKit 0x00007fff992bf986 -[NSApplication run] + 682

25 com.apple.AppKit 0x00007fff99241e9a NSApplicationMain + 1176

26 libdyld.dylib 0x00007fff902f15ad start + 1



Thread 1:: Dispatch queue: com.apple.libdispatch-manager

0 libsystem_kernel.dylib 0x00007fff8f9d20a2 kevent_qos + 10

1 libdispatch.dylib 0x00007fff8f1b150c _dispatch_mgr_invoke + 216

2 libdispatch.dylib 0x00007fff8f1b1183 _dispatch_mgr_thread + 52



Thread 2:

0 libsystem_kernel.dylib 0x00007fff8f9d178a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff921677c9 _pthread_wqthread + 1283

2 libsystem_pthread.dylib 0x00007fff92165409 start_wqthread + 13



Thread 3:

0 libsystem_kernel.dylib 0x00007fff8f9d178a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff921677c9 _pthread_wqthread + 1283

2 libsystem_pthread.dylib 0x00007fff92165409 start_wqthread + 13



Thread 4:

0 libsystem_kernel.dylib 0x00007fff8f9cbc96 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff8f9cb0d7 mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff96126e64 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9612632c __CFRunLoopRun + 1356

4 com.apple.CoreFoundation 0x00007fff96125b78 CFRunLoopRunSpecific + 296

5 com.apple.Foundation 0x00007fff9d3a052d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270

6 com.apple.DTDeviceKitBase 0x000000010df940aa -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 1103

7 com.apple.Foundation 0x00007fff9d4ec1ca __NSThread__start__ + 1351

8 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

9 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

10 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 5:: com.apple.CFSocket.private

0 libsystem_kernel.dylib 0x00007fff8f9d1222 __select + 10

1 com.apple.CoreFoundation 0x00007fff96172a5a __CFSocketManager + 762

2 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

3 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

4 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 6:: com.apple.NSURLConnectionLoader

0 libsystem_kernel.dylib 0x00007fff8f9cbc96 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff8f9cb0d7 mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff96126e64 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9612632c __CFRunLoopRun + 1356

4 com.apple.CoreFoundation 0x00007fff96125b78 CFRunLoopRunSpecific + 296

5 com.apple.CFNetwork 0x00007fff98c3cf4e +[NSURLConnection(Loader) _resourceLoadLoop:] + 412

6 com.apple.Foundation 0x00007fff9d4ec1ca __NSThread__start__ + 1351

7 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

8 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

9 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 7:: com.apple.NSEventThread

0 libsystem_kernel.dylib 0x00007fff8f9cbc96 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff8f9cb0d7 mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff96126e64 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9612632c __CFRunLoopRun + 1356

4 com.apple.CoreFoundation 0x00007fff96125b78 CFRunLoopRunSpecific + 296

5 com.apple.AppKit 0x00007fff99388599 _NSEventThread + 149

6 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

7 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

8 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 8:: DYMobileDeviceManager

0 libsystem_kernel.dylib 0x00007fff8f9cbc96 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff8f9cb0d7 mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff96126e64 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9612632c __CFRunLoopRun + 1356

4 com.apple.CoreFoundation 0x00007fff96125b78 CFRunLoopRunSpecific + 296

5 com.apple.Foundation 0x00007fff9d3a052d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 270

6 com.apple.Foundation 0x00007fff9d412290 -[NSRunLoop(NSRunLoop) run] + 74

7 com.apple.GPUToolsMobileFoundation 0x0000000118902901 -[DYMobileDeviceManager _deviceNotificationThread:] + 134

8 com.apple.Foundation 0x00007fff9d4ec1ca __NSThread__start__ + 1351

9 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

10 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

11 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 9:

0 libsystem_kernel.dylib 0x00007fff8f9cbc96 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff8f9cb0d7 mach_msg + 55

2 com.apple.CoreFoundation 0x00007fff96126e64 __CFRunLoopServiceMachPort + 212

3 com.apple.CoreFoundation 0x00007fff9612632c __CFRunLoopRun + 1356

4 com.apple.CoreFoundation 0x00007fff96125b78 CFRunLoopRunSpecific + 296

5 com.apple.CoreFoundation 0x00007fff961e8061 CFRunLoopRun + 97

6 com.apple.DebugSymbols 0x00007fff8ffa769a SpotlightQueryThread(void*) + 346

7 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

8 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

9 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 10:

0 libsystem_kernel.dylib 0x00007fff8f9d178a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff921677c9 _pthread_wqthread + 1283

2 libsystem_pthread.dylib 0x00007fff92165409 start_wqthread + 13



Thread 11:

0 libsystem_kernel.dylib 0x00007fff8f9d178a __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff921677c9 _pthread_wqthread + 1283

2 libsystem_pthread.dylib 0x00007fff92165409 start_wqthread + 13



Thread 12:

0 libsystem_kernel.dylib 0x00007fff8f9d0f5e __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fff921681f0 _pthread_cond_wait + 767

2 com.apple.Xcode.DevToolsCore 0x000000010da7ec4a -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450

3 com.apple.Foundation 0x00007fff9d4ec1ca __NSThread__start__ + 1351

4 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

5 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

6 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 13:

0 libsystem_kernel.dylib 0x00007fff8f9d0f5e __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fff921681f0 _pthread_cond_wait + 767

2 com.apple.Xcode.DevToolsCore 0x000000010da7ec4a -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450

3 com.apple.Foundation 0x00007fff9d4ec1ca __NSThread__start__ + 1351

4 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

5 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

6 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 14:

0 libsystem_kernel.dylib 0x00007fff8f9d0f5e __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fff921681f0 _pthread_cond_wait + 767

2 com.apple.Xcode.DevToolsCore 0x000000010da7ec4a -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450

3 com.apple.Foundation 0x00007fff9d4ec1ca __NSThread__start__ + 1351

4 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

5 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

6 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 15:

0 libsystem_kernel.dylib 0x00007fff8f9d12b2 __semwait_signal + 10

1 libsystem_c.dylib 0x00007fff98fe6af5 nanosleep + 199

2 com.apple.CoreSymbolication 0x00007fff9cd80b5f 0x7fff9cd6e000 + 76639

3 libsystem_pthread.dylib 0x00007fff92167cb3 _pthread_body + 131

4 libsystem_pthread.dylib 0x00007fff92167c30 _pthread_start + 168

5 libsystem_pthread.dylib 0x00007fff92165419 thread_start + 13



Thread 0 crashed with X86 Thread State (64-bit):

rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff5b7c6be8 rdx: 0x0000000000000000

rdi: 0x000000000000160b rsi: 0x0000000000000006 rbp: 0x00007fff5b7c6c10 rsp: 0x00007fff5b7c6be8

r8: 0x00007fcdbc8d3b32 r9: 0x0000000000000000 r10: 0x0000000008000000 r11: 0x0000000000000206

r12: 0x00007fff8fb071d0 r13: 0x00007fcdbc8a9bd0 r14: 0x00007fff7d2f5000 r15: 0x00007fcdb8707600

rip: 0x00007fff8f9d10ae rfl: 0x0000000000000206 cr2: 0x00007fff7e18f038


Logical CPU: 0

Error Code: 0x02000148

Trap Number: 133



PLEASE HELP ME. THANKS.

I now can open up the storyboard and run the simulator but when I open a .swift file Xcode crashes again. Hope Apple fixes this soon.

Just do the fix for WatchKit too (even if you're not using WatchKit).

The way the text got real small towards the end really made me crack up 😁

I was working with xcode-beta i only change the final command to:


mv /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim.orig

El Capitan beta 6 + Xcode
 
 
Q