I downloaded Xcode 10 to test some new features on a project, Now when I reopen the same project on Xcode 9. It seems that Xcode can't find any assets ( images)
This would work fine on Xcode 10 :
let image = UIImage(named: "AsunnyDay")
// this would find the correct image
However, on Xcode 9
let image = UIImage(named: "AsunnyDay")
//image would be nil
I guess it's something related to XCode 10 categorizing the assets as either for dark appearance or light. but I don't understand why would Xcode 9 not find them.
Guys this is how I fixed it.
Any, Light,Dark
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With