apple / apple/swift-configuration

FileProvider fails to build when FoundationEssentials is not available

Open Beginner friendly
#178 2 comments 0 reactions 0 assignees View on GitHub
status/triage
Dominant language
Swift
Stars
811
Forks
60
Avg merge
9h 38m
Merged PRs (30d)
6

Description

`fileContents!.bytes` in the FileProvider only works if you can import FoundationEssentials, which I cannot find any way to do on my Mac (v26).

```
swiftly use 6.3
mkdir -p repro/Sources/App
cat > repro/Sources/App/main.swift < repro/Package.swift <

Contributor guide

Open the contributing guide

Research direction

Start with Sources/Configuration/Providers/Files/FileProvider.swift around line 189 and reproduce the reported Swift 6.3 macOS 26 build using the Package.swift and main.swift shown in the issue. Done means the sample package builds successfully when FoundationEssentials is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.