ios - I get a "Location attributes must be specified in pairs" error in a crash report when I try to open the Storyboard in XCode -
after updating project repository, went wrong , xcode 6.3 crashes when try open storyboard. according crash report, problem due constraint conflict:
[nslayoutconstraint constraintwithitem:attribute:relatedby:toitem:attribute:multiplier:constant:]: multiplier of 0 or nil second item location first attribute creates illegal constraint of location equal constant. location attributes must specified in pairs
great, how fix if cannot open storyboard in first place??? (duh! apple can more specific?!) there bunch of constraints delete manually opening storyboard in text editor, destroy project , crash report not point out either..
i on crash report, cannot make sense of it, cant copied properly:
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
Comments
Post a Comment