"Combine Symbol with Component" SF Symbol rendered incorrectly

Hello, we're observing a strange issue with SF Symbols. We do the following steps:

  • Select a rather basic symbol like paintpalette.fill
  • Duplicate it as Custom Symbol
  • Select resulting Custom symbol, Combine Symbol with Component, combine it with one of the enclosures, square.fill
  • Export resulting Combined Symbol as a Symbol (we select XCode 15, but selecting XCode 14 or lower usually doesn't have any effect)
  • Import this asset into XCode

Immediately we see the first problem: with 'Automatic' render option, XCode renders it as a black square. To render it in XCode we need to select 'Template' / 'Multicolor' / 'Hierarchical'.

More, when we use that icon in the app, it is rendered OK in iOS 17.5.1 on both iPhones and iPads, but on lower iOS versions (15.8.2, 16.7.8) it is rendered as simply a colored square.

Now, naturally, we suspect that this has to do with symbols availability for different iOS versions, but that particular paintpallette.fill is available in iOS 16.0+ in all forms, so that would explain why it doesn't work on iOS 15, but not in iOS 16.

Moreover, we observe similar results with fully custom symbols entirely designed by us when used with components: importing a fully custom symbol and combining it with component (square) sometimes results in just a square rendered in older versions of iOS, so we sometimes get symbols working in all versions (15.8.2, 16.7.8, 17.5.1), and sometimes they are corretly rendered only in 17.5.1.

On older versions it usually looks like this:

What are we doing wrong?

Code for displaying symbols:

UIImage(named: icon_name).withRenderingMode(.alwaysTemplate)
"Combine Symbol with Component" SF Symbol rendered incorrectly
 
 
Q