Mac OS Sierra と新しい XCode バージョンにアップグレードしてから、NSToolbarItems ごとにアプリケーションを起動するたびに次のエラーが発生します。
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
StoryBoard をいじってみましたが、うまくサイズを変更できませんでした。検索すると、新しい OS でもこの問題を抱えている人が何人か見つかりましたが、役立つ回答はありませんでした。
同じ問題に直面している人、アドバイスはありますか?
どうもありがとう、
マルク