Skip to content

Subview and SubviewCollection is unavailable in iOS #12

@FelixSFD

Description

@FelixSFD

When I'm trying to build my App for iOS 26.4 (with minimum deployments 26.0), I get this error:

.../SourcePackages/checkouts/Helpers/Sources/Helpers/Variadic.swift:160:31 'SubviewsCollection' is unavailable in iOS
.../SourcePackages/checkouts/Helpers/Sources/Helpers/Variadic.swift:183:36 'Subview' is unavailable in iOS

I think the reason might be that the Backport extensions are obsoleted in iOS 18 and macOS 15.

https://github.com/toastersocks/Helpers/blob/05bbf887ec0b235c14be6d13de61a04fc65a1ddc/Sources/Helpers/Variadic.swift#L38-L42

@available(iOS, introduced: 13, obsoleted: 18)
@available(macOS, introduced: 11, obsoleted: 15)
@available(tvOS, introduced: 13, obsoleted: 18)
@available(watchOS, introduced: 8, obsoleted: 11)
@available(visionOS, introduced: 1, obsoleted: 2)

Is there a reason why these extensions are not available on the 26 versions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions