由於每次升級到Mac OS塞拉利昂和新的XCode版本我碰到下面的錯誤我啓動我的應用程序的NSToolbarItems的每一個:NSToolbarItem:「確保此工具欄項目具有有效幀/最小/最大大小」?
Example 1:
2016-09-29 12:46:58.659879 AppTest[] NSToolbarItem (<NSToolbarItem: >) had to adjust the size of <NSPopUpButton: > from {130, 26} to the expected size of {132, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint
Example 2:
2016-09-29 12:46:58.666074 AppTest[] NSToolbarItem (<NSToolbarItem: >) had to adjust the size of <NSButton: > from {60, 25} to the expected size of {62, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint
我試着在故事板瞎搞沒有運氣改變大小,當我搜索周圍時,我發現有幾個人有這個問題以及新的操作系統,但沒有有用的答案。
任何人都面臨同樣的問題,有什麼建議嗎?
非常感謝,
馬克
感謝您的支持!問題消失了! – MMV