immobiliare / immobiliare/RealHTTP
[Bug]: Compilation failing
- Dominant language
- Swift
- Stars
- 292
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
### Platform Version
Docker ubuntu jammy 5.7.2 latest
### SDK Version
1.8.3
### Xcode Version
15.3
### Steps To Reproduce
Getting this while building on latest swift docker
```
public.ecr.aws/docker/library/swift:jammy as build
```
```
[27/963] Compiling RealHTTP HTTPClient.swift
/opt/server/.build/checkouts/RealHTTP/Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift:118:59: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
configuration: URLSessionConfiguration = .default) {
~^~~~~~~
/opt/server/.build/checkouts/RealHTTP/Sources/RealHTTP/Client/HTTPClient/HTTPClientDelegate.swift:63:58: error: cannot find type 'URLRequest' in scope
response: HTTPResponse, with newRequest: URLRequest)
```
### Expected Behavior
should compile
### Actual Incorrect Behavior
failling to compile
Contributor guide
Research direction
Reproduce the failure with public.ecr.aws/docker/library/swift:jammy, then inspect Sources/RealHTTP/Client/HTTPClient/HTTPClient.swift around line 118 and HTTPClientDelegate.swift around line 63. Confirm the cause of the missing URLSessionConfiguration.default and URLRequest symbols, and verify that the package compiles successfully with the reported SDK and Docker platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, swift
- Domain
- build-system, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100