Last active
February 28, 2016 12:48
-
-
Save Lencerf/261265618f06c8e2e384 to your computer and use it in GitHub Desktop.
Plist Textifier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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