Hi! I forked a repository and made some changes to it. Then, I specified my repo URL in the Carthage file, but when I run carthage update, it always fetches and tries to build the original one. Or maybe it's my repo after all, but it is not seeing latest changes.
Is this a bug or am I missing something? I'm using latest Carthage version (0.15.2). Thanks.
This sounds like a caching bug. Have you tried deleting the Carthage cache at ~/Library/Caches/org.carthage.CarthageKit?
Yes, I tried that but it keeps cloning the original version (or an outdated version of my fork)...
I have seen this as well. It was introduced in version 0.15. When I installed 0.14 the latest commit was fetched.
I have the same problem 馃槥
I found a workaround.
Switching the repo in the Cartfile from:
github "patricks/Swift-Prompts.git"
to:
git "https://github.com/patricks/Swift-Prompts.git" "master"
works for me.
Thanks @patricks! That is the only workaround that worked for me (switching to a previous Carthage version didn't work)
@jfsagasti If you are specifying a branch in your Cartfile, this may be the same as #1191 and should be fixed by #1202, I think.
I'm going to preemptively close this because it sounds like a duplicate of #1191.
Most helpful comment
I found a workaround.
Switching the repo in the
Cartfilefrom:github "patricks/Swift-Prompts.git"to:
git "https://github.com/patricks/Swift-Prompts.git" "master"works for me.