Check if UIImage exists in assets in compile time

Vlad Dugnist
ML-Works Engineering
1 min readJan 5, 2017

Few month ago k06a and I created nice script and forgot to share it with community. Here’s how it works:

Both Objective-C and Swift are supported. Just add it as a build phase as in example below:

Actual script:

--

--