Compiling RsyncUI

Overview

The easist method is by using the included Makefile. The default make in /usr/bin/make does the job.

Compile by make

If you have an Apple Developer account, you should open the RsyncUI project and replace the Signing & Capabilities section with your own Apple Developer ID before using make and the procedure outlined below.

The use of the make command necessitates the application-specific password. There are two commands available for use with make: one creates a release build exclusively for RsyncUI, while the other generates a signed version that includes a DMG file.

To create a DMG file, the make command is dependent on the create-dmg tool. The instructions for create-dmg are included in the Makefile. Ensure that the fork of create-dmg is on the same level as the fork of RsyncUI. Before using make, create and store an app-specific password.

The following procedure creates and stores an app-specific password:

  1. Visit appleid.apple.com and log in with your Apple ID.
  2. Navigate to the Sign-In and Security section and select App-Specific Passwords → Generate an App-Specific Password.
  3. Provide a label to help identify the purpose of the password (e.g., notarytool).
  4. Click Create. The password will be displayed once; copy it and store it securely.

After creating the app-specific password, execute the following command and follow the prompts:

xcrun notarytool store-credentials --apple-id "youremail@gmail.com" --team-id "A1B2C3D4E5"

Following the above steps, there are two make commands available from the root of RsyncUI’s source catalog:

  • make - will generate a signed and notified DMG file including the release version of RsyncUI.
  • make archive - will produce a release version, removing all debug information, without signing within the build catalog.
  • make clean - will delete all build data.

Compile by Xcode

If you have an Apple Developer account, use your Apple Developer ID in Xcode.

Apple Developer account

Open the RsyncUI project by Xcode. Choose the top level of the project, and select the tab Signing & Capabilities. Replace Team with your team.

No Apple Developer account

As above, but choose in Signing Certificate to Sign to Run Locally.

To compile or run

Use Xcode for run, debug or build. You choose.