Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Xcode 14 and new SwiftUI API #75

Closed
domfz opened this issue Jun 8, 2022 · 6 comments
Closed

Support for Xcode 14 and new SwiftUI API #75

domfz opened this issue Jun 8, 2022 · 6 comments

Comments

@domfz
Copy link

domfz commented Jun 8, 2022

Since SwiftUI added a NavigationStack to their API, the projects won't build due to same naming with the new Xcode 14 beta.
Any possible solutions?

@domfz
Copy link
Author

domfz commented Jun 9, 2022

I wrote a typealias in a new File where only Foundation and NavigationStack are imported and replaced all my usages with the typealias, this works as a workaround.

@Sadmansamee
Copy link
Contributor

can share? @domfz

@domfz
Copy link
Author

domfz commented Aug 1, 2022

@Sadmansamee

can share? @domfz

import Foundation
import NavigationStack

// Workaround: This fixes usage of NavigationStack Library with Xcode 14
typealias NavigationStackCompat = NavigationStack

@Sadmansamee
Copy link
Contributor

I will rather fork it and change

@Sadmansamee
Copy link
Contributor

#77

@Sadmansamee
Copy link
Contributor

@matteopuc @domfz this should be closed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants