It worked for me, using #colorLiteral() as poste above.
Swift version 5.6.1
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: