I did have this under some circumstances as well (when trying to crate a package out of it). According to a post here in this forum, it's when an old PasCocoa unit is used?
In my project, I enforce macOS 11 using this option:
Project -> Project Options... -> Compiler Options -> Additions and Overrides -> Add -> Custom Option -> "-WM11.0".
Before adding this, it worked as well, but toolbar needed a different init, so there's one IFDEF in there.
Solving this issue would help me as well, since then I could wrap it into a package.
Or is this error occuring when you try to compile the package? Then it's the same I haven't solved yet.
Manually adding the search path and units to the uses part (Firefly.MacOS.Toolbar and Firefly.MacOS.Toolbar.Items) works without this error though