macOS Sonoma & Xcode 15 betas

I have tested the apps in this book using the the current betas of macOS and Xcode. There are three things to watch out for. The first applies to developing any Mac app an the others are specific to this book.


Every time you run an app or a SwiftUI preview changes, you’ll get a warning about the app being from “an unidentified developer”. You can click “Open Anyway” to continue, but this gets tedious.

To avoid this, open Xcode > Settings > Accounts and link your Apple ID. This does not need to be a developer account - any Apple ID will work.

Once you’ve linked your account, go back to your project and open the target settings. Go to Signing & Capabilities and set the Team to your newly linked account. You may see the warning once more, but then it will stop popping up.


At the end of Chapter 11 of macOS by Tutorials, there’s a section about coding for the Touch Bar. As of macOS Sonoma beta 5 (August 2023), the touch bar does not work. The buttons you add partially appear, but if you tap them, they disappear without doing anything.


In Chapter 13, where you start using sips in an app, you’ll only get partial data about the selected images while the app is running in the sandbox.

Skip ahead to “The Mac Sandbox Again” in Chapter 13 and follow those instructions to escape from the sandbox before the “Using sips” section.


I will keep checking the betas and reporting any other changes that need to be made, or bugs that you need to be aware of.

Happy coding,
Sarah