Compiling RsyncUI
Categories:
Overview
There are at least three methods to compile RsyncUI, one without an Apple Developer account and two with an Apple Developer account. Regardless of the method used, it is straightforward to compile RsyncUI, as it is not dependent on any third-party code or library.
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:
- Visit appleid.apple.com and log in with your Apple ID.
- Navigate to the Sign-In and Security section and select App-Specific Passwords → Generate an App-Specific Password.
- Provide a label to help identify the purpose of the password (e.g., notarytool).
- 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"
- Replace “youremail@gmail.com” and “A1B2C3D4E5” with your actual credentials.
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 thebuildcatalog.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.