apple / apple/containerization

[Bug]: Cannot add the package to Xcode project

Open
#197 2 comments 0 reactions 1 assignee Claimed by @jglogan View on GitHub
Dominant language
Swift
Stars
8.9k
Forks
359
Avg merge
2d 20h
Merged PRs (30d)
13

Description

### I have done the following

- [x] I have searched the existing issues
- [x] 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

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

### Relevant log output

```shell
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

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.