2014-09-18 3 views
4

방금 ​​Xcode를 6.0.1로 업그레이드 했으므로 더 이상 컴파일 할 수 없습니다. 엑스 코드 빌드는 다음과 같은 오류와 함께 실패 : 로그에 메모를 바탕으로Xcode 6..0.1이 스토리 보드를 컴파일하지 못합니다.

nwi_state: registration failed (1000000) 
2014-09-18 12:46:28.977 Interface Builder Cocoa Touch Tool[19152:359412] The view hierarchy is not prepared for the constraint: <NSLayoutConstraint:0x7fb2cb5b5800 UIImageView:0x7fb2cb5893e0.centerY == UITableViewLabel:0x7fb2cb5a8950.centerY> 
    When added to a view, the constraint's items must be descendants of that view (or the view itself). This will crash if the constraint needs to be resolved before the view hierarchy is assembled. Break on -[UIView _viewHierarchyUnpreparedForConstraint:] to debug. 
2014-09-18 12:46:28.978 Interface Builder Cocoa Touch Tool[19152:359412] *** Assertion failure in -[UITableViewCellContentView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:], /SourceCache/UIKit_Sim/UIKit-3318/NSLayoutConstraint_UIKitAdditions.m:558 
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255 

답변

0

:

뷰에 추가

, 제약의 항목은 해당 뷰 (또는 뷰 자체)의 후손이어야합니다. 뷰 계층 구조가 어셈블되기 전에 제약 조건을 해결해야하는 경우 충돌이 발생합니다. 휴식 - [UIView _viewHierarchyUnpreparedForConstraint :] 디버깅 할 수 있습니다.

은 또한 방금 관련된 뷰의 제약을 취소 할 수 있습니다 : - [UIView의 _viewHierarchyUnpreparedForConstraint] :

는 상징적 중단 점을 추가합니다.

관련 문제