Skip to content

[SR-15262] SwiftPM 5.5 Fails to resolve dependencies #4385

@Mordil

Description

@Mordil
Previous ID SR-15262
Radar rdar://problem/83703829
Original Reporter @Mordil
Type Bug
Status Closed
Resolution Cannot Reproduce
Environment

swift-driver version: 1.26.9 Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
Target: x86_64-apple-macosx11.0

macOS 11.4
Mac mini (2018)
Memory 8gb
CPU 3.6 GHz Quad-core Intel i3

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 587840783e23602723f5ec4c441a8b6f

Issue Description:

When trying to work on Vapor/Redis, SwiftPM fails to resolve dependencies.

When running swift package resolve, or through Xcode, SwiftPM fails to resolve dependencies using Swift 5.5 (release), but this happened even with beta builds.

The error message is repeated for each dependency in the graph

Creating working copy for https://github.com/vapor/async-kit.git
https://github.com/vapor/async-kit.git: error: Failed to clone repository https://github.com/vapor/async-kit.git:
    Cloning into '/Users/nathanharris/dev/vapor/redis/.build/checkouts/async-kit'...
    fatal: invalid branch name: init.defaultBranch = 

I've deleted Xcode's DerivedData, as well as the .build folder within the project directory.

Still receive the same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions