Skip to content

Instantly share code, notes, and snippets.

@Lencerf
Last active February 28, 2016 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lencerf/261265618f06c8e2e384 to your computer and use it in GitHub Desktop.
Save Lencerf/261265618f06c8e2e384 to your computer and use it in GitHub Desktop.
Plist Textifier
// a small tool that converts biniary plist file into text format
import Foundation
let origin = NSDictionary.init(contentsOfFile: Process.arguments[1])!
origin.writeToFile(Process.arguments[1], atomically: false)
//compile: xcrun -sdk macosx swiftc plist-textifier.swift -o plist-textifier
//usage: plist-textifier config.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment