nalexn / ViewInspector

Runtime introspection and unit testing of SwiftUI views
MIT License
2.09k stars 145 forks source link

View Hosting on watchOS in a Swift Package #275

Open Sarquella opened 7 months ago

Sarquella commented 7 months ago

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?

nalexn commented 7 months ago

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?