Ios 我得到一个;位置属性必须成对指定";尝试在XCode中打开情节提要时出现崩溃报告错误
在从存储库更新我的项目后,出现了一些问题,现在当我试图打开情节提要时,XCode 6.3崩溃了。 根据碰撞报告,问题是由于一些约束冲突造成的:Ios 我得到一个;位置属性必须成对指定";尝试在XCode中打开情节提要时出现崩溃报告错误,ios,xcode,constraints,Ios,Xcode,Constraints,在从存储库更新我的项目后,出现了一些问题,现在当我试图打开情节提要时,XCode 6.3崩溃了。 根据碰撞报告,问题是由于一些约束冲突造成的: [NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: A multiplier of 0 or a nil second item together with a location for the first a
[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]: A multiplier of 0 or a nil second item together with a location for the first attribute creates an illegal constraint of a location equal to a constant. Location attributes must be specified in pairs
太好了,如果我一开始就不能打开故事板,我该怎么解决呢???(Duh!苹果你能说得更具体些吗?!)我可以通过在文本编辑器中打开故事板手动删除一系列约束,但这会破坏我的项目,崩溃报告也没有指出任何东西
我在坠机报告中也看到了这一点,但我无法理解,甚至无法正确复制:
UserInfo: {
IBAbstractPlatformToolExceptionBacktraceKey = " 0. CoreFoundation 0x000000010f5c6c4d __exceptionPreprocess\n 1. libobjc.A.dylib 0x000000010e365bb7 objc_exception_throw\n 2. CoreFoundation 0x000000010f5c6b9d +[NSException raise:format:]\n 3. Foundation 0x000000010e08e233 VerifyConstraintArguments\n 4. Foundation 0x000000010def7a5a +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:]\n 5. IBAutolayoutFoundation 0x000000010da71ebc -[IBLayoutConstraint generateNSLayoutConstraintWithContext:constraintClass:]\n 6. IBAutolayoutFoundation 0x000000010da51c3f -[IBAutolayoutEngine representedConstraintBySubstitutingRealViewsForRepresentedViewsOfConstraint:]\n 7. IBAutolayoutFoundation 0x000000010da51d85 -[IBAutolayoutEngine addRepresentedConstraintForRealConstraint:]\n 8. IBAutolayoutFoundation 0x000000010da53eeb -[IBAutolayoutEngine _attemptToAddConstraint:toView:returningConstraintsOrConstraintAbstractionsMakingSystemOverConstrained:constraintsOrAbstractionsForRepresentedConstraintsBlock:]\n 9. IBAutolayoutFoundation 0x000000010da5429d -[IBAutolayoutEngine attemptToAddConstraint:toView:returningConstraintsMakingSystemOverConstrained:]\n 10. IBAutolayoutFoundation 0x000000010da28011 +[IBAutolayoutArbiter attemptToAddConstraint:byModifyingLayoutEngine:mutuallyExclusiveConstraintBreakageStrategy:mutableConstraintsToAdd:mutableConstraintsToRemove:]\n 11. IBAutolayoutFoundation 0x000000010da5251e -[IBAutolayoutEngine performEngineBootstrappingConstraintAdditionOperationForAddingConstraint:]\n 12. IBAutolayoutFoundation 0x000000010da52aa4 __90-[IBAutolayoutEngine iterateViewsAndGenerateRepresentedConstraintsAndMapToRealConstraints]_block_invoke662\n 13. CoreFoundation 0x000000010f4fe925 __NSDictionaryEnumerate\n 14. IBAutolayoutFoundation 0x000000010da52826 -[IBAutolayoutEngine iterateViewsAndGenerateRepresentedConstraintsAndMapToRealConstraints]\n 15. IBAutolayoutFoundation 0x000000010da4d10f -[IBAutolayoutEngine initWithArbitrationUnit:options:]\n 16. IBAutolayoutFoundation 0x000000010da33827 -[IBAutolayoutArbitrationUnit computeStatus]\n 17. IBCocoaTouchToolFoundation 0x000000010be8ada1 -[IBCocoaTouchTool computeAutolayoutStatusForRequest:document:]\n 18. IBFoundation 0x000000010db9550f __80-[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:]_block_invoke\n 19. IBFoundation 0x000000010db952a6 -[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:]\n 20. IBFoundation 0x000000010db94f90 __88-[IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:context:]_block_invoke\n 21. libdispatch.dylib 0x0000000112b83964 _dispatch_client_callout\n 22. libdispatch.dylib 0x0000000112b70818 _dispatch_barrier_sync_f_slow_invoke\n 23. libdispatch.dylib 0x0000000112b83964 _dispatch_client_callout\n 24. libdispatch.dylib 0x0000000112b6ea59 _dispatch_main_queue_callback_4CF\n 25. CoreFoundation 0x000000010f52e1f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__\n 26. CoreFoundation 0x000000010f4efdcb __CFRunLoopRun\n 27. CoreFoundation 0x000000010f4ef366 CFRunLoopRunSpecific\n 28. Foundation 0x000000010df1bf92 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]\n 29. IBFoundation 0x000000010db73c20 -[IBAbstractPlatformTool startServingReceiveChannel:]\n 30. IBFoundation 0x000000010db73daf -[IBAbstractPlatformTool startServingSocket:]\n 31. IBFoundation 0x000000010db74072 +[IBAbstractPlatformTool main]\n 32. ??? 0x000000010be0dbe7 ???\n 33. libdyld.dylib 0x0000000112bb3145 start";
}
Hints: None