2014-06-05 14 views
8

Tôi vừa mới mở dự án hiện có trong xcode 6 beta. Nhưng nó sụp đổ với thông báo lỗi sau.swift: Không giao tiếp được với Interface Builder

dyld: problem loading iOS simulator dyld 
2014-06-05 11:15:06.604 ibtoold[952:507] Init failed: Error Domain=IBMessageChannelErrorDomain Code=1 "Failed to communicate with Interface Builder" UserInfo=0x7fd09861dbf0 {NSLocalizedDescription=Failed to communicate with Interface Builder, NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool crashed: EXC_BREAKPOINT (SIGTRAP), IBCrashLog= 

Dyld Error Message: 
    problem loading iOS simulator dyld 
} 
2014-06-05 11:15:06.605 ibtoold[952:507] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-6154.17/InterfaceBuilderKit/Utilities/IBAbstractMessageChannelInterfaceBuilderToolManager.m:76 
Details: Failed to attach to Interface Builder Cocoa Touch Tool with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with Interface Builder Cocoa Touch Tool." UserInfo=0x7fd09b3a1360 {NSUnderlyingError=0x7fd09861d710 "Failed to communicate with Interface Builder", NSLocalizedDescription=Encountered an error communicating with Interface Builder Cocoa Touch Tool., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool (962) failed to launch and exited with status (null), signal 5. 



Dyld Error Message: 
    problem loading iOS simulator dyld 
} 
Object: <IBCocoaTouchToolManager: 0x7fd09b478a40> 
Method: -attachToToolForTargetRuntime:scaleFactor:assertOnFailureToAttach:assertOnPostLaunchRequestFailures:error: 
Thread: <NSThread: 0x7fd098614780>{name = (null), num = 1} 
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. 
2014-06-05 11:15:06.914 ibtoold[952:507] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-6153.11/InterfaceBuilder/Utilities/IBObjectMarshalling.m:45 
Details: Failed to launch Interface Builder Cocoa Touch Tool: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with Interface Builder Cocoa Touch Tool." UserInfo=0x7fd09b3a1360 {NSUnderlyingError=0x7fd09861d710 "Failed to communicate with Interface Builder", NSLocalizedDescription=Encountered an error communicating with Interface Builder Cocoa Touch Tool., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason=Interface Builder Cocoa Touch Tool (962) failed to launch and exited with status (null), signal 5. 

Có cách giải quyết nào để xib chạy trên xcode beta không?

+0

xảy ra tương tự Thoát và khởi động lại, –

+0

Ý của bạn là xcode hoặc mac? Tôi đã khởi động lại xcode của mình. nhưng không hiệu quả. – Mani

+3

Thử khởi động lại máy Mac của bạn. –

Trả lời

18

Điều này khắc phục sự cố Trình tạo giao diện.

cd /Applications/Xcode.app 
cd Contents/Developer/Platforms/iPhoneSimulator.platform 
cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib 
sudo mv dyld_sim dyld_sim.orig 
+0

Rất vui được phục vụ :) –

+0

không làm việc cho tôi. Khởi động lại máy Mac của tôi. Co ai biêt tại sao điêu nay xảy ra? Tại sao 'mv' ở trên được đề xuất là bản sửa lỗi? –

6

Theo @ThePaddedCell, tôi đã làm theo các bước sau, nó cuối cùng đã làm việc cho tôi

1) Move xcode6-beta vào thư mục ứng dụng

2) Restart mac và mở xcode6-beta từ thư mục ứng dụng.

nhưng tôi không biết tại sao .. Nếu có ai biết lý do này, hãy chào mừng bạn cập nhật câu trả lời của tôi.

+1

Tôi không phải khởi động lại máy Mac. Sao chép vào/Ứng dụng đã khắc phục vấn đề này cho tôi. – Dan2552

+1

Điều này đã giải quyết được vấn đề Xcode beta ngay cả với 'Phiên bản 8.0 beta (8S128d)' Lỗi là - 'Công cụ Giao diện Ca cao Giao diện Builder (1122) không thể khởi chạy và thoát với trạng thái 11' – Jeet

-1

Di chuyển mã Xcode của bạn sang ứng dụng rồi kiểm tra xem nếu sự cố vẫn chưa được giải quyết, hãy khởi động lại máy Mac của bạn và mở xcode từ ứng dụng.

Các vấn đề liên quan