Xcode 10 Release Notes: \"Code Completion for Swift image literals has been removed in Xcode 10\"
So it\'s not a bug that I couldn\'t ad
You can use Media Library in Xcode to add image literal to your code:
And then choose image from library and drag&drop it to your code
It will create image literal