Skip to content

Application Signing and Archiving

Simone Martorelli edited this page Feb 8, 2021 · 3 revisions

Application Signing is a three step process of building debug versions of each target, creating the XPC connection anchors for communicating to the Jamf binary, and the final archive of the products.

NOTE: The application signing certificates will be available options for you to use by adding your Apple ID to your build environment. This can be done by selecting Xcode from the menu bar -> Preferences -> Account Tab and adding your Apple ID associated with your developer access. If you do not have an Apple ID associated with the Apple Developer portal, you can take a look at the Packaging wiki page for instructions.

Assigning application signing certificates to build targets.

a) In the Xcode IDE, select the enrollment project in the editor area as highlighted in the with the red box in the image below.

  1. Each one of the build targets will need to be addressed with elements 2 and 3, using the General tab.

  2. Select the team ID appropriate for your build. In the image above, I have my certificate installed on my system and using my personal team ID for development and testing purposes. When doing a production signing, it is preferred that you use a signing certificate associated with your organization.

  3. I am using the signing certificate for Mac Developer for development and testing purposes. When doing a production signing, it is preferred that you use Developer ID Application option in the popup button list.

Build the Debug binaries

To the right of the Play (build) button, choose the active scheme for each build target and press Command B to build. Once all three targets have been built, take note of the location of the enrollment app from in the Products directory in the project browser. You will need to know the path for configuring the JAMFIntegrationHelper.

XPC Communication anchors

Quit XCode and configure the xpc communication anchors.

Build and Archive

With the anchor keys in place and the project loaded in XCode, select the enrollment product scheme, and from the menu bar select Product -> Archive. Click the button labeled "Distribute Content". With the radio button for "Build Products" selected, click the Next button and choose a destination for the signed apps.

Clone this wiki locally