Becky on Nostr: So, Apple got weird with running unsigned applications in macOS 15.1. Basically, ...
So, Apple got weird with running unsigned applications in macOS 15.1. Basically, you’ll get a really weird error trying to run an unsigned app that was installed after upgrading to 15.1.
Contrary to popular belief, it’s really easy to deal with this.
First, you have to create a codesign certificate, then you need to run a command to sign the app. There are instructions for that here:
https://stackoverflow.com/questions/27474751/how-can-i-codesign-an-app-without-being-in-the-mac-developer-program. That’s right, you *don’t* have to pay for a developer account to do this.
Second, I noticed even after running the ‘—deep’ option on codesign, the app wouldn’t run. This is also really easy to fix, by typing: sudo xattr -r -d com.apple.quarantine AppName.app from the /Applications directory.
I have two aliases in my .zshrc for this process:
alias self-sign-dammit = ‘codesign -fs my-self-sign-certname —deep’
alias unquarantine='sudo xattr -r -d com.apple.quarantine'
That makes things quick with:
self-sign-dammit /Applications/TargetApplication.app
unquarantine /Applications/TargetApplication.app
*note* if you’re going to reply to this bitching about Apple or praising Linux, please kindly fuck off. Thanks!
Published at
2024-11-04 00:36:36 UTCEvent JSON
{
"id": "e2520fad770aecde8a4cdcb4a102d495dfaf6de8cfa1fab0a13c603c29c3c17b",
"pubkey": "6ec87e1caa771a1d30963ba16e6a0f4809f7b7007c02070bdbf6e89b34baa56b",
"created_at": 1730680596,
"kind": 1,
"tags": [
[
"proxy",
"https://oldbytes.space/@RenewedRebecca/113421883594905304",
"web"
],
[
"proxy",
"https://oldbytes.space/users/RenewedRebecca/statuses/113421883594905304",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://oldbytes.space/users/RenewedRebecca/statuses/113421883594905304",
"pink.momostr"
],
[
"-"
]
],
"content": "So, Apple got weird with running unsigned applications in macOS 15.1. Basically, you’ll get a really weird error trying to run an unsigned app that was installed after upgrading to 15.1.\n\nContrary to popular belief, it’s really easy to deal with this.\n\nFirst, you have to create a codesign certificate, then you need to run a command to sign the app. There are instructions for that here: https://stackoverflow.com/questions/27474751/how-can-i-codesign-an-app-without-being-in-the-mac-developer-program. That’s right, you *don’t* have to pay for a developer account to do this.\n\nSecond, I noticed even after running the ‘—deep’ option on codesign, the app wouldn’t run. This is also really easy to fix, by typing: sudo xattr -r -d com.apple.quarantine AppName.app from the /Applications directory.\n\nI have two aliases in my .zshrc for this process:\n\nalias self-sign-dammit = ‘codesign -fs my-self-sign-certname —deep’\nalias unquarantine='sudo xattr -r -d com.apple.quarantine'\n\nThat makes things quick with:\nself-sign-dammit /Applications/TargetApplication.app\nunquarantine /Applications/TargetApplication.app\n\n*note* if you’re going to reply to this bitching about Apple or praising Linux, please kindly fuck off. Thanks!",
"sig": "5e99f80e353fd8f9a8cea948dfb2c75832520c2015ab23034b05f6b09d34e6c057cecd6e42862267c6a3b5a36d7f4f6d987b02b093e0fda05fece0eb163cf13a"
}