Linting and validation utilities for MarkupKit integrated into Xcode.
mklint.sh is a script which validates your project's MarkupKit XML files and reports any issues it finds right in Xcode's Issue Navigator, and highlights the actual offending line in the text editor. It makes use of Xcode's Build Phases to provide this integration.
In its current (most basic) form, mklint.sh passes through to xmllint and currenly only provides basic XML syntax checking.
cd ~/Developer/YourAwesomeApp/You can use the following cURL snippet to do so in one line:
curl -O https://raw.githubusercontent.com/jarrroo/MarkupKitLint/master/Scripts/mklint.sh ; chmod +x mklint.sh- Open the
Project Navigatorpane in Xcode (Cmd+1) & select your project - Open the
Build Phasestab - Add a new
Run Script Phase - Type the following command into the shell box:
./mklint.shNow, whenever you build your project, the linter will run and highlight any issues it finds right inside Xcode.

