Vortex icon indicating copy to clipboard operation
Vortex copied to clipboard

Main Branch does not build (iOS 17+ required)

Open nicoreese opened this issue 6 months ago • 0 comments

Since merging this pull request (#36), the main branch throws errors in Confetti.swift, mainly:

let resolvedColors = colors.map { color in
            let components = color.resolve(in: environment)

            return Color(
                red: Double(components.red),
                green: Double(components.green),
                blue: Double(components.blue),
                opacity: Double(components.opacity)
            )
        }

'resolve(in:)' is only available in iOS 17.0 or newer 'red' is only available in iOS 17.0 or newer 'green' is only available in iOS 17.0 or newer 'blue' is only available in iOS 17.0 or newer

Adding @available(iOS 17.0, *) to that function should be enough as the whole package should likely still support iOS 15 as before.

nicoreese avatar Jul 13 '25 15:07 nicoreese