Each time you boot your Mac, you can hold down the Option key on your keyboard to get a menu that allows you to choose which macOS installation you want to boot (development or personal).Īnother reason to install macOS a second time is that your personal and development installations can have different Apple IDs attached to them. Thus, if you are testing a containerized app using a Docker/LinuxKit setup, K8s, or a Linux/Windows virtual machine (which incur a large storage performance cost on macOS for some reason), it’s best to create another “development” installation of macOS alongside your default “personal” installation of macOS that is not encrypted to ensure that the T2 chip can give you fast storage performance. While this is generally a good thing for personal files, it causes havoc if you perform many small writes to the filesystem because the T2 chip just can’t handle the load like other storage controllers can (it was designed for the storage needs of Facebook users at Starbucks, not the demands of a developer workstation). When you get a new Mac, the filesystem on the SSD is encrypted by default, and this encryption is performed entirely by the T2 chip. Modern Macs come with a small ARM processor called the T2 chip that acts as the SSD controller, sound controller, touchbar controller, Trusted Platform Module (TPM), and pretty much anything else Apple wants to cram in there to save cost and maximize profit. You can easily (and safely) install macOS multiple times on the same system because Apple now uses the APFS filesystem, which supports logical volumes on the same underlying partition. This is something I highly recommend on any developer workstation, for reasons I’ll get to shortly. If you don’t, or you’re somewhat new to macOS but have some Linux knowledge, read my macOS for Linux Admins blog post first! 1. This blog post assumes you know the basic structure of the macOS operating system. In this blog post, I’ll share my general recommendations for turning macOS into a developer workstation. ![]() ![]() Luckily, there are several things you can do to tweak your Mac into a fast developer workstation that boasts an interface with the productivity features you’re used to on Windows 10 and Linux desktops. After all, Apple designed every aspect of Aqua to fit the needs of the most novice users, and not power users such as developers. The more you use macOS, the more you realize this messy desktop practice is caused by the design of Aqua and not the user. If you look over the shoulder of most Mac users, you’ll notice that their desktop looks like a very messy desk. The Aqua desktop in macOS has few features or components geared towards developers. ![]() Unfortunately doing serious development using macOS is cumbersome at best. Or maybe you bought a MacBook because you need to develop software as well as look good at Starbucks (after the pandemic is over, of course). Or maybe you bought a Mac to develop iOS apps. So your boss gave you a Mac for development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |