Skip to content

Swift Package Manager cannot resolve OpenSSL #249

@loukrieg

Description

@loukrieg

Using Xcode 26.1 (17B55), adding the package as either source or the -package version, I get the following error:

	Updating from https://github.com/krzyzanowskim/OpenSSL
the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system)
unexpectedly did not find the new dependency in the package graph: sourceControl(identity: openssl, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/krzyzanowskim/OpenSSL)), requirement: 3.6.0 – Next Major)

Also tried with the Dependency Rule: Branch - main with the same result. Clearly the Package.swift file exists. I suspect the error is misleading.

My project uses several other packages loading from GitHub and they all seem to work.

This even fails downloading the repo and attempting to add locally. Adding to my project as a Framework, but it would be nice to figure out why this fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions