SwiftUIX / Coordinator

A declarative navigation API for SwiftUI.
MIT License
252 stars 21 forks source link

Type '() -> _TargetPlatformConditionalModifiable<Root, _SwiftUI_TargetPlatform.macOS>' cannot conform to 'View' #7

Closed quocleviet79 closed 1 month ago

quocleviet79 commented 1 year ago

@vmanot Please help me check on 'maste' branch XCode Version 14.1 (14B47b)

Screen Shot 2023-09-01 at 13 50 58
vmanot commented 1 year ago

@quocleviet79 can you try upgrading to Xcode 14.3 and tell me if this still recurs?

Kovalik98 commented 11 months ago

I encountered the identical error while utilizing Xcode version 14.2.

SwiftUIX/Sources/Intramodular/Miscellaneous/_SwiftUI_TargetPlatform.swift:147:12: type '() -> _TargetPlatformConditionalModifiable<Root, _SwiftUI_TargetPlatform.macOS>' cannot conform to 'View'

public func controlActiveState(_ state: _SwiftUI_TargetPlatform.macOS._ControlActiveState) -> _TargetPlatformConditionalModifiable<some View, Platform> {

^

vmanot commented 11 months ago

@Kovalik98 it seems like it may be fixed on 14.3 - can you try updating to that and confirm?

vmanot commented 1 month ago

Closing this due to inactivity, feel free to reopen if this persists with the latest release.