|
* TinkerDifferent *
Retro Computing Community |
| Home | Forums | What's New | Search | Settings |
| Help me figure out how to sign a macOS app |
|
This Does Not Compute Administrator -------- Joined: Oct 27, 2021 Posts: 345 Likes: 503 |
Sep 10, 2024 - #1
So there's a bash script I wrote that, to make it more convenient to run, I package up using Platypus. Problem is the resulting app isn't signed, so it requires bypassing Gatekeeper in order to run it. With macOS Sequoia making it more difficult to bypass Gatekeeper, I need to finally get around to getting the app signed.
Problem is I don't know what's involved in this, other than paying Apple $100 a year for a developer account. The documentation for Platypus says that one just needs to run this to sign the apps it creates:
|
|
JDW Administrator Japan -------- Joined: Sep 2, 2021 Posts: 2,534 Likes: 1,982 |
Sep 10, 2024 - #2
Colin, I have zero idea how to answer your question, but for the sheer fun of it, I sent a slightly edited (for clarity) version of your post to ChatGPT4o, and it replied back as follows (keeping in mind that it can make mistakes)...
To sign an app using codesign on macOS, you need an Apple Developer account (which costs $100/year) and an associated signing identity. Here's a step-by-step guide to getting from paying Apple to running the command you found in the Platypus documentation:
|
/usr/bin/codesign -s "Developer ID Application: Your Name (TeamID)" path/to/MyApp.app |
codesign -dv --verbose=4 path/to/MyApp.app |
sudo spctl --master-disable |
sudo spctl --master-enable |
codesign -s - --deep --force path/to/MyApp.app |
|
OneGeekArmy Active Tinkerer Belgium -------- Joined: Oct 31, 2021 Posts: 103 Likes: 266 |
Sep 10, 2024 - #3
I'm currently away from the computer and in the middle of nowhere in Normandy (I'm basking in the glory of an anemic 3G network right now) but I'll be back next week and we can take a look at it then if you want (and if the answer above didn't help). The gatekeeper stuff is all a bit of a maze indeed and I need to refer to my notes constantly. Liked by This Does Not Compute,JDWanderic |
|
This Does Not Compute Administrator -------- Joined: Oct 27, 2021 Posts: 345 Likes: 503 |
Sep 11, 2024 - #4
Well believe it or not, the ChatGPT instructions actually worked! The last time I tried to use it for anything technical, it tried to get me to use a software library that doesn't exist. :LOL:
Liked by naruse,JDWandKai Robinson |
|
Kai Robinson TinkerDifferent Board President 2023 Worthing, UK -------- Joined: Sep 2, 2021 Posts: 1,322 Likes: 1,313 |
Sep 11, 2024 - #5
IT'S LEARNING - KILL IT! :ROFLMAO:
Liked by naruseandJDW |
| Page 1 of 1 |
| Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings |
| XenForo Retro Proxy by TinkerDifferent.com |