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
See the attached Git repository to reproduce the issue. It includes the following three commits which represent a local package development workflow I've followed many times in the past with other dependency manages:
1. f9c8312 Initial commit: Add a dependency to the project, using a remote URL on GitHub. This project was created with the command swift package init --type executable.
2. 748272e Put SwiftIO into edit mode: Runs swift package edit and then git submodule add -f https://github.com/sharplet/SwiftIO.git Packages/SwiftIO to track the submodule in Git.
3. 8823882 Use local package path to break swiftpm: Take the package that's already in edit mode, and explicitly update Package.swift to point to the local package. The idea of this is to allow sharing of local package edits without having to run swift package edit each time. This breaks the package manager with the below error.
Attachment: Download
Environment
Additional Detail from JIRA
md5: 4729e995796ea392f1afca858425cb39
Issue Description:
See the attached Git repository to reproduce the issue. It includes the following three commits which represent a local package development workflow I've followed many times in the past with other dependency manages:
1.
f9c8312 Initial commit
: Add a dependency to the project, using a remote URL on GitHub. This project was created with the commandswift package init --type executable
.2.
748272e Put SwiftIO into edit mode
: Runsswift package edit
and thengit submodule add -f https://github.com/sharplet/SwiftIO.git Packages/SwiftIO
to track the submodule in Git.3.
8823882 Use local package path to break swiftpm
: Take the package that's already in edit mode, and explicitly update Package.swift to point to the local package. The idea of this is to allow sharing of local package edits without having to runswift package edit
each time. This breaks the package manager with the below error.The text was updated successfully, but these errors were encountered: