AssetChecker icon indicating copy to clipboard operation
AssetChecker copied to clipboard

Find asset catalogs automatically

Open joeboyscout04 opened this issue 7 years ago • 0 comments

Hey! I finally had a little time to complete a project which I was wanting to do for a while, supporting multiple asset catalogs and finding the asset catalogs automatically within the source. So now you can just add

${PODS_ROOT}/AssetChecker/run

into your Build Phases and it should just work.

I also changed the error output so that it will link to the file where the asset is missing instead of the asset catalog. I think this is a bit more helpful.

I also added some images for testing in the sample project, as well as some instances of errors and warnings. The sample project throws the correct AssetChecker errors and warnings.

Hopefully you can find some time to review these additions. This was a pretty large refactoring of the script file. I've tested it in two of my projects.

joeboyscout04 avatar Sep 07 '18 08:09 joeboyscout04