An Xcode project: property lists that parse, build settings files, and complete string catalogs. Asset catalogs hold their images, sources belong to a target, and entitlements stay on a list. The Swift guide explains the setup.
| Check |
Stage |
Level |
What it does |
xcode/plutil |
commit |
recommended |
Parses every property list and entitlements file with plutil. |
xcode/xcstrings |
commit |
recommended |
Checks that each string catalog parses and translates every string into all its locales. |
xcode/assets |
commit |
recommended |
Checks that each asset Contents.json parses, and that its image set holds each file it names. |
xcode/unused-assets |
commit |
all |
Finds asset sets that no source or Xcode build setting names. |
xcode/files-without-target |
commit |
recommended |
Finds the Swift files in the tree that no target of the project names. |
xcode/entitlements |
commit |
recommended |
Checks each entitlement against xcode.allowed_entitlements, when the settings hold that list. |
xcode/app-transport-security |
commit |
recommended |
Refuses a property list that allows arbitrary loads, which turns transport security off for every host. |
gspot selects it in a scope with file paths **/*.xcodeproj/project.pbxproj, or project files *.xcodeproj.
| Rule file |
Installed when |
.gspot/configurations/infrastructure/xcode/rules/XCODE.md |
Always |
| Tool |
Version |
| plutil |
Any, install it yourself |