 do {
     let data = try Data.init(contentsOf: inputURL, options: .alwaysMapped)
     
-    if #available(OSX 10.12, *) {
+    if #available(macOS 10.12, *) {
         os_log("Using chunk size of %{bytes}d",
                log: .default,
                type: .info,


let inputURL = URL(fileURLWithPath: arguments.inputPath)

if #available(OSX 10.12, *) {
    os_log("Opening file at path %@",
           log: .default,
           type: .info,

    }
}
catch {
    if #available(macOS 10.12, *) {
        os_log("Error opening file at %@: %@",
               log: .default,
               type: .error,
