The docs explain how to setup for View Hosting on watchOS both when project is using @main or storyboard.
However, if our project is a simple Swift Package (so no @main nor storyboard), how should we proceed for hosting and inspecting our views in watchOS? Is that supported?
I don't think I have enough context to give the answer. How is your framework using the ViewInspector, and how the consumer app is supposed to use your framework?
The docs explain how to setup for View Hosting on watchOS both when project is using
@main
orstoryboard
. However, if our project is a simple Swift Package (so no@main
norstoryboard
), how should we proceed for hosting and inspecting our views in watchOS? Is that supported?