Skip to content

[Bug]: Cannot add the package to Xcode project #197

@maxvdec

Description

@maxvdec

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Open Xcode and try to get version 0.3.0 to be added as a package for the app. It just does not work due to some dependency hell. Using Xcode beta 26

Current behavior

It does not add the package since it can't resolve some packages that it depends on.

Expected behavior

I should be able to use it without a problem

Environment

- OS: macOS 26.0 Beta 2
- Swift: Apple Swift version 6
- Xcode: Version 26.0 beta

Relevant log output

Failed to resolve dependencies   Dependencies could not be resolved because no versions of 'swift-http-types' match the requirement 1.3.0..<2.0.0 and root depends on 'containerization' 0.3.0..<1.0.0.
  'containerization' >= 0.3.0 practically depends on 'swift-http-types' 1.3.0..<2.0.0 because no versions of 'swift-http-types' match the requirement 1.0.0..<1.3.0.
  'containerization' >= 0.3.0 practically depends on 'swift-http-types' 1.0.0..<2.0.0 because 'containerization' >= 0.3.0 practically depends on 'swift-nio-extras' 1.24.0..<2.0.0 (1).
  'swift-nio-extras' >= 1.24.0 practically depends on 'swift-http-types' 1.0.0..<2.0.0 because 'swift-nio-extras' 1.25.0 depends on 'swift-http-types' 1.3.0..<2.0.0 and 'swift-nio-extras' 1.24.1 depends on 'swift-http-types' 1.0.0..<2.0.0.
  'swift-nio-extras' {1.24.0..<1.24.1, 1.24.2..<1.25.0, 1.25.1..<2.0.0} practically depends on 'swift-http-types' 1.0.0..<2.0.0 because 'swift-nio-extras' 1.27.0 depends on 'swift-http-types' 1.3.0..<2.0.0 and 'swift-nio-extras' 1.26.0 depends on 'swift-http-types' 1.3.0..<2.0.0.
  'swift-nio-extras' {1.24.0..<1.24.1, 1.24.2..<1.25.0, 1.25.1..<1.26.0, 1.26.1..<1.27.0, 1.27.1..<2.0.0} practically depends on 'swift-http-types' 1.0.0..<2.0.0 because 'swift-nio-extras' 1.28.0 depends on 'swift-http-types' 1.3.0..<2.0.0 and 'swift-nio-extras' 1.27.1 depends on 'swift-http-types' 1.3.0..<2.0.0.
  'swift-nio-extras' {1.24.0..<1.24.1, 1.24.2..<1.25.0, 1.25.1..<1.26.0, 1.26.1..<1.27.0, 1.27.2..<1.28.0, 1.28.1..<2.0.0} practically depends on 'swift-http-types' 1.0.0..<2.0.0 because 'swift-nio-extras' 1.24.0 depends on 'swift-http-types' 1.0.0..<2.0.0.
  'swift-nio-extras' {1.24.0, 1.24.2..<1.25.0, 1.25.1..<1.26.0, 1.26.1..<1.27.0, 1.27.2..<1.28.0, 1.28.1..<2.0.0} practically depends on 'swift-http-types' 1.0.0..<2.0.0 because no versions of 'swift-nio-extras' match the requirement {1.24.2..<1.25.0, 1.25.1..<1.26.0, 1.26.1..<1.27.0, 1.27.2..<1.28.0, 1.28.1..<2.0.0} and 'swift-nio-extras' 1.24.0 depends on 'swift-http-types' 1.0.0..<2.0.0.
  'containerization' >= 0.3.0 practically depends on 'grpc-swift' 1.26.0..<2.0.0 because no versions of 'containerization' match the requirement 0.3.1..<1.0.0 and 'containerization' 0.3.0 depends on 'grpc-swift' 1.26.0..<2.0.0.
  'grpc-swift' 1.26.0..<2.0.0 practically depends on 'swift-nio-extras' 1.24.0..<2.0.0 because 'grpc-swift' 1.26.0 depends on 'swift-nio-extras' 1.24.0..<2.0.0 and 'grpc-swift' 1.26.1 depends on 'swift-nio-extras' 1.24.0..<2.0.0.
  'grpc-swift' {1.26.0, 1.26.2..<2.0.0} practically depends on 'swift-nio-extras' 1.24.0..<2.0.0 because no versions of 'grpc-swift' match the requirement 1.26.2..<2.0.0 and 'grpc-swift' 1.26.0 depends on 'swift-nio-extras' 1.24.0..<2.0.0.
     (1) 'containerization' >= 0.3.0 practically depends on 'swift-nio-extras' 1.24.0..<2.0.0.
unexpectedly did not find the new dependency in the package graph: sourceControl(identity: containerization, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/apple/containerization)), requirement: 0.3.0 – Next Major)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions