You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SR-7386 switching between similar packages breaks swift package update
Issue Description:
Suppose I fork a dependency to test a change, and adjust my Package.swift to point to it. Later, after a few builds, I decide it was a bad idea and revert my Package.swift to the old repo. Now, I must `rm -rf .build` to compile.
What appears to happen is the next swift build will fail with something like
which is because `some-repo.git` actually has a different suffix number, so there is content in `.build/repositories/some-repo.git-7785354365974529063` that prevents the build from continuing. `swift package clean` doesn't resolve this, and I need to `rm -rf .build` manually.
The text was updated successfully, but these errors were encountered:
Environment
macOS
Additional Detail from JIRA
md5: 3b9d4d040de47bcb920b9952642ddfbf
is duplicated by:
Issue Description:
Suppose I fork a dependency to test a change, and adjust my Package.swift to point to it. Later, after a few builds, I decide it was a bad idea and revert my Package.swift to the old repo. Now, I must `rm -rf .build` to compile.
What appears to happen is the next swift build will fail with something like
which is because `some-repo.git` actually has a different suffix number, so there is content in `.build/repositories/some-repo.git-7785354365974529063` that prevents the build from continuing. `swift package clean` doesn't resolve this, and I need to `rm -rf .build` manually.
The text was updated successfully, but these errors were encountered: