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
When a dependency has a prerelease identifier, for instance version 1.2.3-beta5, swiftpm is unable to build it. I've been able to trace it to the initializer in dep/Package.swift, which uses the hyphen to split the folder name and then assumes the last component in the version. For example, with version 1.2.3-beta5 of the package deck-of-playing-cards, the package would get checked out into the folder deck-of-playing-cards-1.2.3-beta5. That initializer then interprets the version as beta5 and refuses to build the package because the version is incorrectly formatted.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 801ee557ccaa4b312197e300c0ed64a0
Issue Description:
When a dependency has a prerelease identifier, for instance version 1.2.3-beta5, swiftpm is unable to build it. I've been able to trace it to the initializer in dep/Package.swift, which uses the hyphen to split the folder name and then assumes the last component in the version. For example, with version 1.2.3-beta5 of the package deck-of-playing-cards, the package would get checked out into the folder deck-of-playing-cards-1.2.3-beta5. That initializer then interprets the version as beta5 and refuses to build the package because the version is incorrectly formatted.
The text was updated successfully, but these errors were encountered: