'Add forked Swift Package in Xcode project
I recently forked a Swift Package library from GitHub in order to implement a functionality that I've been missing. However, when I try to add my version of the package in a Xcode project (by adding the url of my fork), Xcode can't find any results.
Is this an intended limitation of Swift Package Manager or am I missing something?
Solution 1:[1]
Try to use http instead of https:

EDIT:
After you tried with http and still have the problem you probably need to create a personal access token:
- Go to GitHub and log in.
- In the upper right corner you will see your avatar with a button to open a menu. Click and choose Settings.
- Choose Developer Settings from the list of settings.
- Choose Personal Access Tokens from the list of developer settings.
- Click the Generate a personal access token link.
- Enter Xcode in the Note text field to let you know the token is for Xcode.
- Select the scopes for the access token.
- Click the Generate token button.
- Copy the token so you can paste it in Xcode.
Now to use the token in Xcode:
- Choose Xcode > Preferences.
- Click the Accounts button at the the top of the preferences window.
- Click the Add button.
- Choose GitHub from the list of accounts.
- Click the Continue button.
- Enter your GitHub username and personal access token in the text fields.
- Click the Sign In button.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

