macOS Archive

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.

Apple sets release dates for macOS High Sierra, iOS 11

Aside from new iPhones, theres more Apple news - the company has set release dates for iOS 11 - 19 September - and macOS High Sierra - 25 September. I can't say much about High Sierra - I don't have a Mac - but iOS 11 is an absolute must, especially for iPad users. I've been using it for a long time now on my 2017 iPad Pro 12.9", and I haven't looked back to my laptop since buying it and installing iOS 11 on it.

iOS 11 is a huge leap forward for the iPad, and it'll make your tablet feel like a new, and much more capable device.

“We need to document macOS”

I spend an inordinate amount of time searching for information about macOS. Whether I am researching the answers for my section in MacFormat magazine, or trying to solve my own problems here, I am also daily reminded of Apple's wholesale failure to provide consistent and complete documentation of its flagship product.

The idea you would donate an inordinate amount of time and effort for free to the richest company in the world to perform work they ought to be doing is wholly and completely baffling to me.

Building the XNU kernel on Mac OS X Sierra

From version to version, I always love to play around with the kernel. And it has always been a great lack in guides and documentation on how to build Mac OSX's kernel, XNU. For those of you that already have tried compiling XNU for Mac OSX 10.12 (Sierra), you probably noticed that earlier build guides like ssen's blog - Building xnu for OS X 10.11 El Capitan don't work anymore. However, many thanks to ssen to put in time to write a guide.

The problem is that Apple introduced something named Circular dependency with the libdispatch library and the kernel headers. So the order of the build process just got really important.

Apple showcases macOS High Sierra

macOS High Sierra will deliver new video and graphics technologies that will lay the groundwork for even more improvements to macOS down the line, according to Apple. The big additions in High Sierra include Apple File System (APFS), support for High-Efficiency Video Coding (HEVC), and an all-new version of Metal - simply called Metal 2 - which will allow Apple's advanced graphics tech to power even more Mac apps, including machine learning and VR-based content.

Apple also mentioned that macOS' window manager will run on Metal 2. As always, be sure to take a peek at Apple's official High Sierra page.

Hackintoshes show that Apple should just build a Mac tower

Apple is working on new desktop Macs, including a ground-up redesign of the tiny-but-controversial 2013 Mac Pro. We're also due for some new iMacs, which Apple says will include some features that will make less-demanding pro users happy.

But we don't know when they're coming, and the Mac Pro in particular is going to take at least a year to get here. Apple's reassurances are nice, but it's a small comfort to anyone who wants high-end processing power in a Mac right now. Apple hasn't put out a new desktop since it refreshed the iMacs in October of 2015, and the older, slower components in these computers keeps Apple out of new high-end fields like VR.

This is a problem for people who prefer or need macOS, since Apple's operating system is only really designed to work on Apple’s hardware. But for the truly adventurous and desperate, there's another place to turn: fake Macs built with standard PC components, popularly known as "Hackintoshes". They've been around for a long time, but the state of Apple's desktop lineup is making them feel newly relevant these days. So we spoke with people who currently rely on Hackintoshes to see how the computers are being used - and what they'd like to see from Apple.

My 2009 article on building a hackintosh is still one of the most popular articles on OSNews. This movement is anything but new, and has always been far more popular than people seem to think - it's only been brought to the forefront again lately due to Apple's abysmal Mac product line-up.

Darwin 0.1 and Rhapsody DR 2 booted

So the recently recovered source code to Darwin 0.1 corresponds with the release of the PowerPC only OS X Server 1.0. However as we all found out, Darwin will still built and maintained on Intel, as it was a very secretive plan B, in case something went wrong with the PowerPC platform. Being portable had saved NeXT before, and now it would save Apple.

So with this little background, and a lot of stumbling around in the dark, I came up with some steps, that have permitted me to build the Darwin 0.1 kernel under DR2.

This is beyond awesome.

Debugging macOS kernel using VirtualBox

Late last year, I upgraded my old MBP to the 2016 model with a Skylake processor. As I was debugging a kernel exploit, it turned out that SMAP was enabled inside my VMWare Fusion VM. I wanted to avoid dealing with SMAP, but couldn't figure out how to disable it in Fusion. Luckily, VirtualBox VMs do not support SMAP (yet?).

This post will be a step-by-step guide on how to setup macOS kernel source-level debugging using VirtualBox. Though all the step examples are geared toward VirtualBox, this guide can also be used to setup kernel debugging on VMWare Fusion since it's even more straightforward in Fusion.

Compiling a Mac OS 8 application on macOS Sierra

In 1999, armed with a brand new copy of Metrowerks Codewarrior and a PowerMac running Mac OS 8.5.1, I wrote a basic implementation of Minesweeper to test out the Powerplant application development environment. It's the oldest project of mine that I've kept, so I wanted to see if I could get it running again for the first time in 17 years.

There's no Swift or Objective-C code in this article but there are disk-eating koalas, deliberately misspelled cities, Zernike polynomials, Cocoa software (but not the Cocoa you're thinking of), resource forks, master pointer blocks and in the end, I finally earn the admiration of my family.

Great, entertaining story, you learn something, and it mentions BeOS. I can't think of anything that would make this story even more likely to get posted on OSNews.

Using QEMU to explore the Mac OS Nanokernel

The beauty of the internet: there's always someone else who is also interested in the things you're interested in. It turns out, even people who are working on trying to bring Mac OS 9 to the PowerPC G5 can find each other online. Now, it's important to note that even the people themselves acknowledge that this project is a very, very long shot and unlikely to succeed - but that doesn't mean it isn't worth trying and learning something along the way.

This project (we call it "CountDown G5") is ambitious, sure, and unlikely to succeed. But a few things make it worthwhile:

  • I am learning a lot about low-level kernel programming, which I find fascinating as a hobby.
  • We are crafting a build system in MPW, inspired by that source leak, for very low-level assembly and linking of a NewWorld ROM. This will be useful to other hackers in the future.
  • We have an intermediate goal of increasing the usable logical address space on OS 9 to near the 2 GB hardware limit.
  • The G5 isn't all that different. It has facilities for running 32-bit OSes, and early G5s thankfully left the Block Allocation Table mechanism intact.

Be sure to follow the thread on the forum if you're interested in this type of exotic hacking.

Meanwhile, also definitely 100% be sure to follow Steven Troughton-Smith, who, over the past few days, has been doing an absolutely crazy amount of work on things that go far beyond my comfort zone (he pointed the above thread out to me just now). He's been investigating all the work the Qemu people have been doing on PowerPC emulation, and he's trying to get all the early and often exotic Mac OS X builds to boot on Qemu. This includes things like altering and recompiling BootX, diving deep into Open Firmware to remove a number of 'fixes' put in place that prevented early OS X versions from booting, and tons of other things.

How Apple alienated Mac loyalists

Mark Gurman, trustworthy and extremely reliable Apple reporters with uncannily good sources inside Apple, paints a grim picture of the future of the Mac.

Interviews with people familiar with Apple's inner workings reveal that the Mac is getting far less attention than it once did. They say the Mac team has lost clout with the famed industrial design group led by Jony Ive and the company's software team. They also describe a lack of clear direction from senior management, departures of key people working on Mac hardware and technical challenges that have delayed the roll-out of new computers.

And just in case you're one of the people who ridiculed or attacked me for stating OS X is effectively dead and iOS is Apple's future, this nugget might interest you - emphasis mine.

In another sign that the company has prioritized the iPhone, Apple re-organized its software engineering department so there's no longer a dedicated Mac operating system team. There is now just one team, and most of the engineers are iOS first, giving the people working on the iPhone and iPad more power.

It's been clear to anyone with an unbiased, open mind towards Apple's past few years that the Mac simply has no or low priority within Apple, and this only further solidifies it.

Tim Cook assures employees that it is committed to the Mac

Tim Cook, in a posting to Apple's internal messaging board:

The desktop is very strategic for us. It's unique compared to the notebook because you can pack a lot more performance in a desktop - the largest screens, the most memory and storage, a greater variety of I/O, and fastest performance. So there are many different reasons why desktops are really important, and in some cases critical, to people.

The current generation iMac is the best desktop we have ever made and its beautiful Retina 5K display is the best desktop display in the world.

Some folks in the media have raised the question about whether we're committed to desktops. If there's any doubt about that with our teams, let me be very clear: we have great desktops in our roadmap. Nobody should worry about that.

When a CEO has to go out and say the company is committed to X, the company is probably not committed to X.

Why Apple is removing ‘time remaining’ battery life estimates

Apple clearly thinks the 'time remaining' estimates were causing more harm than good for users, so the new battery life status menu will now instead only show a percentage of remaining battery life, like on iOS devices, which should offer an accurate prediction. The change will be introduced for all in today's macOS update.

Apple claims that the reports of terrible battery on the new 15" MacBook Pro life are inaccurate, and in response, they removed the "time remaining" indicator.