Interface Builder与IBPlatformToolFailureHandler.m

时间:2015-10-13 18:29:33

标签: interface-builder xcode7 assert uistackview

enter image description here我正在使用Xcode 7.0.1,并且在设置UIStackViews属性的几天后,我经常遇到Interface Builder的崩溃。

我通过从头开始创建的一个非常简单的项目重现了这个问题。这个项目只包含一个带有一个viewController的Storyboard,它包含一个带有UITableViewCell的UITableView,它包含5个UILabel和几个UIStackViews。

每当我更改其中一个UIStackView Xcode崩溃的几个属性时,都会出现以下错误。

有时我可以重新打开项目,有时候不能(Xcode在启动时崩溃)。我在MacBookPro和我的旧白色MacBook上使用相同的项目时遇到了同样的问题,所有这些都使用相同版本的Xcode和OS X El Capitain。

欢迎任何关于变通方法或解决方法的想法。

路径:/Applications/Xcode.app/Contents/MacOS/Xcode 标识符:com.apple.dt.Xcode 版本:7.0.1(8228) 构建信息:IDEFrameworks-8228000000000000~5 App Item ID:497799835 App外部ID:813434267 代码类型:X86-64(原生) 父进程:??? 1 负责人:Xcode [2177] 用户ID:501

日期/时间:2015-10-10 18:29:07.206 +0200 操作系统版本:Mac OS X 10.11(15A284) 报告版本:11 匿名UUID:4CEF61B0-80F0-668D-225D-39382C5053E4

睡眠/唤醒UUID:C7D655B2-BA3E-4DAF-AC3A-F9AB2B1609DC

启动后的时间清醒:13000秒 自唤醒以来的时间:8800秒

系统完整性保护:已启用

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

异常类型:EXC_CRASH(SIGABRT) 例外代码:0x0000000000000000,0x0000000000000000 例外注释:EXC_CORPSE_NOTIFY

特定应用信息: IBDocumentDidFinishEditingNotification ProductBuildVersion:7A1001 /Library/Caches/com.apple.xbs/Sources/IDEInterfaceBuilder/IDEInterfaceBuilder-8191/InterfaceBuilderKit/Utilities/IBPlatformToolFailureHandler.m:315中的ASSERTION FAILURE 详细信息:无法计算自动布局状态IBLayoutConstraint,IBUILabel,IBUIStackView,IBUITableViewCell,IBUITableViewCellContentView和IBUIView。

遇到与Interface Builder Cocoa Touch Tool通信的错误。如果您选择为此问题提交崩溃报告或雷达,请在" / var / folders / q3 / g2n6m_1x57583jym4b_808jw0000gn / T / IB-agent-diagnostics_2015-10-10_18-29-07_130000&#下拉链并附上诊断信息。 34;你的崩溃报告。

异常名称:NSInternalInconsistencyException 例外原因:{objective 0x7ff0e2677310:< 1:20> +< 1:1> * 0x7ff0e268c6c0.marker {id:4430}}:内部错误。为变量UILabel设置空向量:0x7ff0e4c71c20' Last Period' .Height {id:4185}。 异常回溯:   0. CoreFoundation 0x0000000109dfbf4d __exceptionPreprocess   1. libobjc.A.dylib 0x0000000109875deb objc_exception_throw   2. CoreFoundation 0x0000000109dfbe9d + [NSException raise:format:]   3.基础0x000000010944e930 - [NSISObjectiveLinearExpression setPriorityVector:forKnownAbsentVariable:]   4.基础0x00000001095f01b7 __128- [NSISObjectiveLinearExpression replaceVariable:withExpression:processVariableNewToReceiver:processVariableDroppedFromReceiver:] _ block_invoke   5.基础0x000000010944b47f - [NSISLinearExpression enumerateVariablesAndCoefficients:]   6.基础0x00000001095f0077 - [NSISObjectiveLinearExpression replaceVariable:withExpression:processVariableNewToReceiver:processVariableDroppedFromReceiver:]   7.基金会0x000000010944c5ae - [NSISEngine substituteOutAllOccurencesOfBodyVar:withExpression:]   8.基金会0x000000010944f5ed - [NSISEngine pivotToMakeBodyVar:newHeadOfRowWithHead:andDropRow:]   9.基金会0x000000010944cf87 - [NSISEngine minimizeConstantInObjectiveRowWithHead:]  10.基础0x00000001095ebe43 - [NSISEngine tryUsingArtificialVariableToAddConstraintWithMarker:rowBody:usingInfeasibilityHandlingBehavior:mutualExclusiveConstraints:]  11.基金会0x000000010944ae4e - [NSISEngine tryToAddConstraintWithMarker:expression:integralizationAdjustment:mutualExclusiveConstraints:]  12.基金会0x00000001095f2a09 - [NSLayoutConstraint _addLoweredExpression:toEngine:integralizationAdjustment:lastLoweredConstantWasRounded:mutualExclusiveConstraints:]  13.基金会0x000000010943f96d - [NSLayoutConstraint _addToEngine:integralizationAdjustment:mutualExclusiveConstraints:]  14. UIKit 0x0000000107b31590 - [UIView(UIConstraintBasedLayout)_layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutualExclusiveConstraints:]  15. UIKit 0x0000000107b31966 - [UIView(UIConstraintBasedLayout)_tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutualExclusiveConstraints:]  16. UIKit 0x0000000107b31adf - [UIView(UIConstraintBasedLayout)_tryToAddConstraint:roundingAdjustment:mutualExclusiveConstraints:]  17. IBCocoaTouchToolFoundation 0x00000001071e0ea0 - [IBCocoaTouchToolAutolayoutEngine tryToAddConstraint:toRepresentedView:roundingAdjustment:mutualExclusiveConstraints:]

0 个答案:

没有答案