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
Apple Swift version 5.1 (swiftlang-1100.0.43.3 clang-1100.0.26.3)
Target: x86_64-apple-darwin18.6.0
Additional Detail from JIRA
Votes
0
Component/s
Package Manager
Labels
Bug
Assignee
None
Priority
Medium
md5: bb665ff1c519639d485217913044cd41
Issue Description:
Reproduction Steps:
Create iOS project with a dependency on a package - the URL must be different to the package name. E.g. URL of https://github.com/0xTim/FoodNStuffTest.git and package name of FoodNStuff. This all works.
Clone the package locally
Drag the package into the Xcode project to replace the remote dependency
Expected Behaviour:
SwiftPM resolves the dependencies correctly and replaces the existing remote dependency with the local one.
Actual behaviour:
SwiftPM fails with the error the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again
Environment
Xcode 11 Beta 2, Swift 5.1
Apple Swift version 5.1 (swiftlang-1100.0.43.3 clang-1100.0.26.3)
Target: x86_64-apple-darwin18.6.0
Additional Detail from JIRA
md5: bb665ff1c519639d485217913044cd41
Issue Description:
Reproduction Steps:
Create iOS project with a dependency on a package - the URL must be different to the package name. E.g. URL of https://github.com/0xTim/FoodNStuffTest.git and package name of
FoodNStuff
. This all works.Clone the package locally
Drag the package into the Xcode project to replace the remote dependency
Expected Behaviour:
SwiftPM resolves the dependencies correctly and replaces the existing remote dependency with the local one.
Actual behaviour:
SwiftPM fails with the error
the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again
Note:
This works fine if the remote URL matches the package name, e.g. https://github.com/0xTim/FoodNStuff.git and
FoodNStuff
The text was updated successfully, but these errors were encountered: