Xcode Storyboard重置为建议的约束错误

时间:2017-09-23 16:49:44

标签: xcode ios-autolayout

升级到iOS 11后立即开始使用此功能:

Failed to automatically update constraints

任何团体都有想法?当我重置为建议的约束时,我得到了这个:

Reset to Suggested Constraints

直到今天仍在工作几个月。这是日志:

=================================

XCODE VERSION INFO:

版本= 9.0(9A235) 插件版本= 13196 Beta版本= 0 操作系统版本= 10.12.6(16G29)

=================================

ARBITER ERROR:

无法使用选项运行仲裁:{     KeepRedundantDocumentConstraints = 1;     OnlyArbitrateConstraintsForViews =" {(\ n>,\ n; layer =>,\ n>,\ n; layer =>,\ n; layer =>,\ n; layer => \ N)}&#34 ;;     RelationshipHints = {         CommandKeyDown = 0;         来源= 4;     }; (失败原因:左转临时显式约束:UIView [0x7fb68bf370a0] .Width = + 375.000000 containsView = {} scoreVector =,roundingAdjustment = 0)

=================================

IDE仲裁单位:

   注册视图控制器      顶部布局指南      底部布局指南      查看框架= {{0,0},{375,667}} tAMIC = YES         电子邮件地址框架= {{87,272},{200,30}} tAMIC = YES         ********* frame = {{87,321},{200,30}} tAMIC = YES        注册帧= {{87,370},{200,40}} tAMIC = YES        名字框架= {{87,170},{200,30}} tAMIC = YES        姓氏框架= {{87,219},{200,30}} tAMIC = YES

=================================

BACKTRACE:

0 - [IBDocumentAutolayoutManager _scheduleArbitrationOfUnit:withOptions:](在IDEInterfaceBuilderKit中)   1 - [IBDocumentAutolayoutManager _runAutolayoutCommandForArbitrationUnits:withBlock:](在IDEInterfaceBuilderKit中)   2 - [IBDocumentAutolayoutManager _whitelistAndDecideConstraintsForItems:withOptions:](在IDEInterfaceBuilderKit中)   3 - [IBDocumentAutolayoutManager clearAndAddSuggestedConstraintsForItems:inAllConfigurations:](在IDEInterfaceBuilderKit中)   4 65- [IBDocument clearAndAddSuggestedConstraintsForItems:fromSource:] _ block_invoke.4171(在IDEInterfaceBuilderKit中)   5 - [IBMemberRelationshipHelper handleOperation:onObjects:inDocument:hints:currentConfigurationOnlyHandler:defaultConfigurationHandler:](在IDEInterfaceBuilderKit中)   6 - [IBMemberRelationshipHelper handleOperation:onObjects:inDocument:fromSource:currentConfigurationOnlyHandler:defaultConfigurationHandler:](在IDEInterfaceBuilderKit中)   7 - [IBDocument clearAndAddSuggestedConstraintsForItems:fromSource:](在IDEInterfaceBuilderKit中)   8 - [IBAbstractDocumentEditor clearAndAddSuggestedConstraintsInArbitrationUnit:](在IDEInterfaceBuilderKit中)   9 _os_activity_initiate_impl(在libsystem_trace.dylib中)  10 - [NSApplication(NSResponder)sendAction:to:from:](在AppKit中)  11 __37- [DVTApplication sendAction:to:from:] _ block_invoke(在DVTKit中)  12 DVTInvokeWithFailureHint(在DVTFoundation中)  13 - [DVTApplication sendAction:to:from:](在DVTKit中)  14 - [NSMenuItem _corePerformAction](在AppKit中)  15 - [NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:](在AppKit中)  16 _os_activity_initiate_impl(在libsystem_trace.dylib中)  17 - [NSMenu performActionForItemAtIndex:](在AppKit中)  18 - [NSMenu _internalPerformActionForItemAtIndex:](在AppKit中)  19 - [NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:](在AppKit中)  20 NSSLMMenuEventHandler(在AppKit中)  21 DispatchEventToHandlers(EventTargetRec *,OpaqueEventRef *,HandlerCallRec *)(在HIToolbox中)  22 SendEventToEventTargetInternal(OpaqueEventRef *,OpaqueEventTargetRef *,HandlerCallRec *)(在HIToolbox中)  23 SendEventToEventTarget(在HIToolbox中)  24 SendHICommandEvent(unsigned int,HICommand const *,unsigned int,unsigned int,unsigned char,void const *,OpaqueEventTargetRef *,OpaqueEventTargetRef *,OpaqueEventRef **)(在HIToolbox中)  25 SendMenuCommandWithContextAndModifiers(在HIToolbox中)  26 SendMenuItemSelectedEvent(在HIToolbox中)  27 FinishMenuSelection(SelectionData *,MenuResult *,MenuResult *)(在HIToolbox中)  28 PopUpMenuSelectCore(MenuData *,Point,double,Point,unsigned short,unsigned int,Rect const *,unsigned short,unsigned int,Rect const *,Rect const *,__ CFDictionary const *,__ CFString const *,OpaqueMenuRef **,unsigned short *)(在HIToolbox中)  29 _HandquePopUpMenuSelection8(OpaqueMenuRef *,OpaqueEventRef *,unsigned int,Point,unsigned short,unsigned int,Rect const *,unsigned short,Rect const *,Rect const *,__ CFDictionary const *,__ CFString const *,OpaqueMenuRef **,unsigned short * )(在HIToolbox中)  30 _HandlePopUpMenuSelectionWithDictionary(在HIToolbox中)  31 _NSSLMPopUpCarbonMenu3(在AppKit中)  32 - [NSCarbonMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:](在AppKit中)  33 - [NSSegmentedCell _trackSelectedItemMenu](在AppKit中)  34 - [NSSegmentedCell _displayDelayedMenu](在AppKit中)  35 __NSFireTimer(在基金会)  36 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION (在CoreFoundation中)  37 __CFRunLoopDoTimer(在CoreFoundation中)  38 __CFRunLoopDoTimers(在CoreFoundation中)  39 __CFRunLoopRun(在CoreFoundation中)  40 CFRunLoopRunSpecific(在CoreFoundation中)  41 RunCurrentEventLoopInMode(在HIToolbox中)  42 ReceiveNextEventCommon(在HIToolbox中)  43 _BlockUntilNextEventMatchingListInModeWithFilter(在HIToolbox中)  44 _DPSNextEvent(在AppKit中)  45 - [NSApplication(NSEvent)_nextEventMatchingEventMask:untilDate:inMode:dequeue:](在AppKit中)  46 - [DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:](在DVTKit中)  47 - [NSWindow(NSEventRouting)trackEventsMatchingMask:timeout:mode:handler:](在AppKit中)  48 - [NSDragEventTracker trackEvent:usingHandler:](在AppKit中)  49 - [NSCell tr​​ackMouse:inRect:ofView:untilMouseUp:](在AppKit中)  50 - [NSSegmentedCell tr​​ackMouse:inRect:ofView:untilMouseUp:](在AppKit中)  51 - [NSControl mouseDown:](在AppKit中)  52 - [NSWindow(NSEventRouting)_handleMouseDownEvent:isDelayedEvent:](在AppKit中)  53 - [NSWindow(NSEventRouting)_reallySendEvent:isDelayedEvent:](在AppKit中)  54 - [NSWindow(NSEventRouting)sendEvent:](在AppKit中)  55 - [IDEWorkspaceWindow sendEvent:](在IDEKit中)  56 - [NSApplication(NSEvent)sendEvent:](在AppKit中)  57 - [IDEApplication sendEvent:](在IDEKit中)  58 - [NSApplication run](在AppKit中)  59 NSApplicationMain(在AppKit中)  60开始(在libdyld.dylib中)

0 个答案:

没有答案