Post

Replies

Boosts

Views

Activity

How do I get my WatchOS target to use the Shared folder in Multi Platform Template?
Hi everyone, When I add WatchOS as a target to my multi platform SwiftUI project, it creates its own ContentView within the Watchkit Extension folder. It does not seem to be able to access any views within the "Shared" folder in the multi platform App template, leaving me with two Content Views in the project. Does anyone know how to add a WatchOS target and have it use the shared files? Can this be done? I was encouraged because the App Essentials WWDC20 video implies WatchOS can be used with this template as they have a screenshot example, but so far haven't had success in duplicating it.
2
0
3.8k
Nov ’20