Installation
Step 1 : Setup XCode Project
- Install XCode (latest stable version recommended)
- Create new xcode project if you haven't.
Step 2: Get Package Repository Access Credentials
- Get Package repository access URL from Silence Laboratories team.
Step 3: Open Package(SPM) Collection Window
- In Xcode, open the Project Navigator.
- Select the project file (the root item in the navigator).
- In the Project Editor, select your project(Your Xcode Project title under
Project
section). - Navigate to the Package Dependencies tab.
- Click the + icon at the bottom of the Package Dependencies section.
- A dialog box will appear prompting you to enter a package URL.
Step 4: Add Package
-
Enter the package URL (We get this from Step 2). The format should be as follows:
https://silencelaboratories:<token>@github.com
-
Copy and paste this URL into the Enter Package URL box.
-
Click Next to proceed.
Step 5: Select Dependency Rules
- Choose the version rule for the package (e.g., Exact, Up to Next Major, Up to Next Minor), Choose
Exact
. - Click Next to continue.
Step 6: Confirm and Add Package
- Xcode will fetch the package details.
- Add library (silentshardduo, c2dkls, duo_schnorr) to your targets By clicking dropdown from the "Add to Target" items.
- Click Finish to complete the installation.