xcode/assets
Checks that each asset Contents.json parses, and that its image set holds each file it names.
Part of the xcode configuration, at the recommended level. It runs at the commit stage, once per scope. gspot runs this check itself.
An image set with no image draws nothing at run time.
What to do
Section titled “What to do”Add the image or delete the asset.
Example
Section titled “Example”A Contents.json that names a missing icon.png reports a finding. Add the image beside it, or remove the reference.
Turn it off
Section titled “Turn it off”Turn it off for some files, with a reason:
gspot ignore xcode/assets --paths "<glob>" --reason "<why>"