Skip to content

Commit

Permalink
Fix "Protocol requirement cannot be declared '@_spi'" (#392)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitalii Kotivskyi <vitalii.kotivskyi@materialise.kiev.ua>
  • Loading branch information
Kotivskyi and Vitalii Kotivskyi authored Jan 3, 2024
1 parent b0e1e57 commit 5d876c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/PlatformVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ extension PlatformVersion {
public var isCurrentOrPast: Bool {
condition == .current || condition == .past
}

@_spi(Internals)
public var condition: PlatformVersionCondition? { nil }
}

public struct iOSVersion: PlatformVersion {
Expand Down

0 comments on commit 5d876c6

Please sign in to comment.