Closed damywise closed 1 year ago
This is interesting since I don't get this error when compiling the example project. Before I merge your pull request, what is your project's deployment target?
10.11, yeah it's lower than the minimum.
Yeah, Xcode won't even let me go below 10.13 in the example project anymore (I guess I should update the readme, then), though I guess merging your PR won't hurt.
When building the app that has the code
Window.addToolbar()
in it, it fails to build with the following message:This can be fixed by wrapping the code within
addToolbar()
function with this: