-
Download XCode and build as Console application using Swift 1.2+
-
This 'script' simply use the output of 'fdesetup' command with 'status' argument - in the background.
-
You can compile the main.swift into a main executable by running:
$ swiftc main.swift
- See the example screenshot below: