Keep OSNews alive by becoming a Patreon, by donating through Ko-Fi, or by buying merch!

macOS Archive

The future of the Mac comes from iOS apps

Apple made a big splash at WWDC this year when it announced that it would be letting developers port their iOS applications over to the Mac sometime next year - and that Apple had already started the process by bringing over the iOS versions of the Home, Stocks, News, and Voice Memo apps to macOS 10.14 Mojave.

The project - rumored to be codenamed Marzipan - is still in the early stages, and Apple isn't even planning on offering it to developers until 2019. And there's already a fair amount of confusion and outcry over what Apple's doing here: whether or not it will see the death of the traditional Mac app as we know it, exactly how these new kinds of apps will work, whether they'll feel like traditional "native" Mac apps, and even whether or not it's fair to call these apps "ports". So here's what's actually going on.

A fair overview of "Marzipan" and what it could mean for the future of the Mac.

Apple deprecates OpenGL, OpenCL in macOS Mojave

Yesterday at WWDC 2018, Apple revealed macOS Mojave, which is set to bring users a Dark Mode, redesigned Mac App Store, organizable Stacks, streamlined screenshots, and more when it launches wide in the fall. Alongside the new features, Apple has confirmed that it is deprecating OpenGL (Open Graphics Library) and OpenCL (Open Computing Language) in favor of Metal.

This means that apps built using OpenGL and OpenCL will still run in Mojave, but they will no longer be updated after macOS 10.14 launches. Apple encourages games and "graphics-intensive apps" built with OpenGL to adopt Metal ahead of Mojave's launch, and apps that use OpenCL for computational tasks "should now adopt Metal and Metal Performance Shaders."

This is going to be a major burden for small game developers.

Apple will let developers port iOS apps to macOS in 2019

As I said, there's one aspect of macOS Mojave that we really do have to talk about.

Macs and iOS devices have been getting closer and closer to each other in terms of functionality, and now Apple is bridging that gap with an announcement that the company will be making it easier to port iOS applications over to macOS at its WWDC. Apple has already been testing its new frameworks, with the recently revealed News, Stocks, Voice Memos, and Home apps that Apple introduced with Mojave all actually being ported versions of the iOS apps. According to Apple, the cross-platform porting is made possible by integrating elements of iOS's UIKit frameworks directly into macOS, alongside the existing AppKit framework used on desktop.

The point during the keynote where Apple announced this was odd - they put up a slide with the question if Apple will ever merge iOS and macOS, followed by a slide that simply said "no". However, they then followed by saying that a large part of all the mac OS Mojave features they just announced were actually ports from iOS, which really takes the wind out of that seemingly definitely "no". We're not merging iOS and macOS, but by the way all the new apps you just saw are iOS apps!

In any event, this is the Marzipan project Mark Gurman scooped late last year, and it will present a massive sea change for Mac and iOS developers alike. With how popular iOS is compared to macOS, all your favourite macOS applications will eventually be iOS applications ported over to run on macOS. It simply makes very little economic sense to have two separate applications fully optimized for each of the two platforms; it's much easier to develop an iOS application that oh-by-the-way also runs on macOS.

So no, iOS and macOS aren't merging in the sense that they're going to be the same operating system, but once most macOS applications are just ported iOS applications, can you really argue that the distinction between the two platforms really matters?

Apple announces macOS 10.14 Mojave

And, as expected, Apple also previewed macOS 10.14, nicknamed Mojave.

Apple today previewed macOS Mojave during its keynote event at the Worldwide Developers Conference in San Jose, California. Version 10.14 of the Mac operating system introduces a slew of new features, including a Dark Mode, Dynamic Desktop wallpapers, Desktop Stacks, a redesigned Mac App Store, and more.

I wasn't particularly overly impressed with what Apple demonstrated regarding Mojave - nice features, sure, but nothing groundbreaking or revolutionary. As with the other previewed operating systems, the first developer preview is available today, and the final release will ship in Autumn.

There's one thing about Mojave we have to talk about, though - but that deserves its own news item.

Apple leaks macOS 10.14 dark mode, Xcode 10

Developer Steve Troughton Smith today tweeted photos of macOS 10.14 with some very juicy details about Apple's upcoming operating system. The OS is very clearly sporting a fresh new dark theme, presumably a toggle-able setting, with the dark UI affecting all application chrome. You can also see an icon for a Mac News app in the Dock, as well as a first look at Xcode 10.

Smith explains that the API the Mac App Store uses behind-the-scenes is including a video preview for Xcode, something that the current Mac App Store does not support. It represents a pretty big leak on Apple's part ahead of Monday's keynote.

Another major leak because Apple just uploaded a video to a place where everyone can find it. Good work, Apple.

As far as dark modes go - I'm generally not a fan, because they often feel like tacked-on afterthoughts, without designers really taking the implications into consideration. The only time where I saw "dark mode" work well was Windows Phone, because that UI was designed for it from the ground-up. Also, dark modes tend to be "dark", and not black. With today's modern displays with deep blacks, dark mode should really be black mode.

Today Mac OS X is as old as the Classic Mac OS

Here's a bit of numerology for you. Today marks 17 years, one month, and 29 days since Mac OS X 10.0 was released on March 24, 2001. That's a strangely odd number - 6269 days - but it also happens to be the exactly length of time between January 24, 1984 (the launch of the original Macintosh) and March 24, 2001.

In other words, today the Mac's second operating system era, powered by Mac OS X (now macOS) has been in existence as long as the first era was.

Time is a weird thing, and it truly doesn't feel like OS X is that old.

Hidden sheep and typography archaeology

Because a typeface is not just its pixels, but also its spacing, I wanted to look at the authentic source material for Chicago. That required some technical archaeology: the original Macintosh, released in 1984, was the first widely available computer that used proportional typography on screen and it had an entirely unique way of storing and managing fonts. (Standards like TrueType didn’t appear until later.)

I have some software background in typography, so I managed to extract the genuine 1984 font data using my 2018 computer. (The details of that part are a bit beside the point but are in the footnote at the bottom if you're interested). Having got the font, bitmap and spacing data for Chicago, I used the same little program to extract all the other Macintosh bitmap fonts.

Fun little bit of typography archeology on the old Macintosh.

299 macOS apps are so buggy, Apple fixes them in AppKit

What do Photoshop, Matlab, Panic Transmit, and Eclipse have in common? They are among the 299 apps for which macOS applies compatibility fixes.

Here's the full list of bundle IDs, along with the functions that checks for them, and the first caller to those functions. It's also available in CSV format.

Note that this is just a list of apps Apple has developed compatibility tweaks to make them run on newer macOS versions. As the list demonstrates, even the best apps often needs some tweaks on newer macOS. In addition, most of these patches are only applied to older versions of apps.

Here's how I extracted the list, and some interesting things I found in it.

This is absolutely fascinating, and provides some amazing insight into which applications Apple considers crucial to the macOS user experience and platform. We all know Windows performs various tricks to maintain backwards compatibility, but I had no idea Apple went to decent lengths too for the same reasons.

Using the old Mac OS is pure zen

But I do believe that the old Mac makes for a timely reminder that the digital age hasn't always felt so frantic, or urgent, or overwhelming. And maybe, even if an old Mac interface isn't the solution, we can view it as a subtle north star for its sensibilities, and how much it was able to accomplish with so little.

This story is far too light on details and quite fluffy, and the final sentence quoted above is far too simplistic - "how much it was able to accomplish" was, in fact, quite little compared to today's machines - but it's interesting to see people discovering the classic Macintosh operating system for the first time, and recognizing its many fun little affordances that made using it so pleasant.

Personally, I consider Mac OS 9 to have one of the most pleasant and usable graphical user interfaces ever designed. Sure, the underlying operating system was a grossly outdated technical mess by that point, but the many subtle animations, the spatial Finder, the consistent and elegantly understated Platinum looks made the UI a pleasure to use, to this very day. And considering I never used the classic Mac OS back when it was current, this isn't a case of rose-tinted nostalgia; I didn't get to try out OS 9 until 2005 or so.

I wish Apple's current software designers were forced to use the classic Platinum UI for a month or two, just to experience what it was like. Maybe they'd step up their game, because as it stands today, macOS' UI is mere shadow of OS 9.

MacOS monitoring the open source way

Let's say a machine in your corporate fleet gets infected with malware. How would you detect it? How could you find out what happened on the machine? What did the malware do? Did it steal your browser's passwords? What network connections did the malware make? Was it looking for crypto currency? By having good telemetry and a good host monitoring solution for your machines you can collect the context necessary to answer these important questions.

Proper host monitoring on macOS can be very difficult for some organizations. It can be hard to find mature tools that proactively detect security incidents. Even when you do find a tool that fits all your needs, you may run into unexpected performance issues that make the machine nearly unusable by your employees. You might also experience issues like having hosts unexpectedly shut down due to a kernel panic. Even if you are able to pinpoint the cause of these issues you may still be unable to configure the tool to prevent the issue from recurring. Due to difficulties like these at Dropbox, we set out to find an alternative solution.

Exactly what it says on the tin.

Are external GPUs for Macs viable in macOS 10.13.4?

It's perplexing that this flagship feature of macOS 10.13.4 feels so incomplete. Sure, we've come a long way since enthusiasts were hacking it together with help from online forums, but more work needs to be done to ensure a consistent experience. We wouldn't advise going out and buying an enclosure just yet, but we nevertheless see reasons in the performance gains to be hopeful that we could recommend it at some point in the future.

It seems strange to me that switching GPUs - even external ones - is such an arduous process. It seems this process is more seemless on Windows. On macOS it seems each and every applications needs to be modified to add support for it, whereas on Windows, the operating system itself takes care of it.

macOS 10.13.4 adds external GPU support

macOS 10.13.4, released to the public yesterday afternoon, introduces official support for eGPUs (external graphics processors) on Thunderbolt 3 Macs. Alongside the release, Apple has published a detailed support document that outlines how eGPU support works and provides graphic card and chassis recommendations for use with your Mac.

External GPUs seem like an incredibly clunky solution to a problem I doubt many people actually have. If your workload relies heavily on GPU power, you're probably not using Apple laptops anyway.

Apple prepares macOS for discontinuation of 32-bit app support

When users attempt to launch a 32-bit app in 10.13.4, it will still launch, but it will do so with a warning message notifying the user that the app will eventually not be compatible with the operating system unless it is updated. This follows the same approach that Apple took with iOS, which completed its sunset of 32-bit app support with iOS 11 last fall.

This is good. I would prefer other companies, too, take a more aggressive approach towards deprecating outdated technology in consumer technology.

Apple Addresses Meltdown and Spectre in macOS

Along with macOS High Sierra 10.13.3, Apple this morning released two new security updates that are designed to address the Meltdown and Spectre vulnerabilities on machines that continue to run macOS Sierra and OS X El Capitan.

As outlined in Apple's security support document, Security Update 2018-001 available for macOS Sierra 10.12.6 and OS X El Capitan 10.11.6 offers several mitigations for both Meltdown and Spectre, along with fixes for other security issues, and the updates should be installed immediately.

Together with last week's update, this means the last three major revisions of macOS are now protected from the processor bugs.

Reading disks from 1988 in 2018

I used an Apple IIe computer throughout high school and into my second year in college, before I bought a Mac SE. That following summer I sold the Apple IIe and everything that came with it - the monitor, floppy drives, and dot-matrix printer - and pocketed the cash. What I was left with were two boxes containing two dozen 5.25-inch floppy disks.

I could've thrown the disks away - I had already transferred all the files I cared about to the Mac. But for some reason I saved them instead. And the two dozen floppy disks stayed in two battered boxes for the next 27 years.

Apple quickly fixes severe security flaw in macOS

So there's been a big security flaw in Apple's macOS that the company fixed in 24 hours. I rarely cover security issues because where do you draw the line, right? Anyhow, the manner of disclosure of this specific flaw is drawing some ire.

Obviously, this isn't great, and the manner of disclosure didn't help much either. Usually it's advisable to disclose these vulnerabilities privately to the vendor, so that it can patch any holes before malicious parties attempt to use them for their own gains. But that ship has sailed.

I've never quite understood this concept of "responsible disclosure", where you give a multi-billion dollar company a few months to fix a severe security flaw before you go public. First, unless you're on that company's payroll, you have zero legal or moral responsibility to help that company protect its products or good name. Second, if the software I'm using has a severe security flaw, I'd rather very damn well please would like to know so I can do whatever I can to temporarily fix the issue, stop using the software, or take other mitigating steps.

I readily admit I'm not hugely experienced with this particular aspect of the technology sector, so I'm open to arguments to the contrary.

Reverse engineering the macOS High Sierra supplemental update

Reported by Matheus Mariano, a Brazilian software developer, a programming error was discovered in Apple’s most recent operating system, High Sierra, that exposed passwords of encrypted volumes as password hints. A serious bug that quickly made the headlines in technology websites everywhere.

Apple was prompt to provide macOS High Sierra Supplemental Update to customers via the App Store, and ensured that every distribution of High Sierra in their servers included this update.

I decided to apply a binary diffing technique to the update to learn more about the root cause of this bug and hypothesize about how the defect could have been prevented.

Apple open-sourced iOS and macOS kernel for ARM

Apple has always shared the kernel of macOS after each major release. This kernel also runs on iOS devices as both macOS and iOS are built on the same foundation. This year, Apple also shared the most recent version of the kernel on GitHub. And you can also find ARM versions of the kernel for the first time.

The code was pushed to Apple's open source site, as well as to their official GitHub mirror.

Apple releases macOS High Sierra

Apple has released macOS High Sierra.

macOS High Sierra is designed to improve on the previous macOS Sierra operating system with some major under-the-hood upgrades and a handful of outward-facing changes.

Apple File System (APFS), a file system designed for solid state drives, is the new default for these drives in macOS High Sierra. APFS is safe, secure, and optimized for modern storage systems. It features native encryption, safe document saves, stable snapshots, and crash protection, plus it brings performance improvements.

An interesting new feature in high Sierra that was only recently unveiled: the new version of macOS checks your Mac's firmware against Apple's own database once a week to see if it's been tampered with.