'SPM UIColor resources don't support Dark mode

I created an asset folder in my SPM package and put all UIColors my app required. I set Any and Dark appearances for each color. But when I use these colors (set in Storyboard) in my app I get only "light" mode colors. What is the point of color resources in SPM without this support?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source