When I set the icon for a file using
[[NSWorkspace sharedWorkspace] setIcon: myImage forFile: [[sheet URL] path] options: NSExcludeQuickDrawElementsIconCreationOption];
2019-11-21 14:34:44.954590-0700 Appname[4856:152311] [default] Invalid image size X: 1024 Y: 1152
XCode 11.2.1 correctly sets the file icon to myImage but logs the error 14 times. This didn't happen in older versions of XCode. The Developer Documentation doesn't say anything about any particular requirements for the size if the NSImage. Setting the the options to either one of the two options doesn't change the error. Is this a spurious error? Am I missing something. Should I file a bug report?
Have you upgraded macOS as well as Xcode? This sounds more like an OS bug than an Xcode bug. But it does look like a bug, since the docs say that the image will be automatically scaled as needed. I'd say do file a bug report, and then try supplying a 1024 x 1024 image.
Yes, latest Versions OSX (10.5.1) and XCode (11.2.1).
I'll file a bug report.