Skip to content

'swiftVersion' is inaccessible due to 'internal' protection level #6

@parmar-mehul

Description

@parmar-mehul

v2.9.0 + Xcode Version 26.0 (17A324) + macOS 15.6.1 (24G90) + iPhone 13 Pro + iOS 18.6.2

@available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) extension CurrentDevice { /// Returns the version number of Swift being used to compile public var swiftVersion: String { Application.swiftVersion }

Error: 'swiftVersion' is inaccessible due to 'internal' protection level

Image

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