c00000fd
c00000fd

Reputation: 22265

How to convert existing macOS command line tool (for a launch daemon) into a bundled app for code signing & stapling?

I have a macOS command line tool project for my launch daemon (written in C++). It compiles into a single Mach-O binary file.

I need to code sign and notarize it for distribution (outside of the App Store.) For that, it seems like I need to convert it into an app-bundle like structure. (That is needed so that I can staple the notarization ticket to it.)

I found this document that describes how to do it from the start by creating a new project as a macOS app.

But in my case I already have an existing macOS project, created as a "command line tool". How do I convert it to build into an app-bundle in Xcode?

Upvotes: 2

Views: 130

Answers (1)

I believe you can notarize and staple if you put your binary into an installer PKG.

Upvotes: 0

Related Questions