I have created some custom named colors for using in my project earlier it was working fine. When i install Xcode 9.2 it is showing me "Named color do not work prior to iOS 11.0". (My phone version is 11.1.1.)
By Setting project target to 11 solved issue