https://kotlinlang.org logo
#touchlab-tools
Title
# touchlab-tools
b

Bradleycorn

11/09/2023, 6:23 PM
Going through the KMM Bridge docs, there is this note:
If you have a private repo, you will also need to give Xcode access to your repo. It does not use the
./netrc
file for this.
Anyone know where I can find documentation on how to do this? I’m a bit new to Xcode.
k

kpgalligan

11/10/2023, 1:39 PM
"File > Add Package Dependencies...", then "Add Source Control Account", and you'll get a list. Select GitHub, and add auth (username and PAT)
Screenshot 2023-11-10 at 8.36.57 AM.png
b

Bradleycorn

11/10/2023, 1:40 PM
So, just try to add the package and it’ll prompt you. Guess I should’ve just tried it from the start. 🤦 Thanks Kevin!
Got it working now!
k

kpgalligan

11/10/2023, 1:41 PM
Well, you need to give auth to GitHub first, then you can add your package. However, as mentioned in the docs, you still need
~/.netrc
. Confusing, but that's how it works
b

Bradleycorn

11/10/2023, 1:43 PM
yep, I have the netrc stuff in place. I’ve always just used the search bar up at the top to enter the github url. Never occured to me to click the plus button down there. Now I’ve added my github account info and it’s good to go.
k

kpgalligan

11/10/2023, 1:49 PM
Nice!