-
Hello, I'm having a problem previewing SwiftUI files that have not a scheme. I tried deleted the DerivedData but it's a constant on any SwiftUI file that doesn't belong to a scheme. With files that belong to a scheme I don't have any problem, I post it here because I don't think is an issue with isowords, more of an issue with Xcode that's why I wanted to ask first here. For example trying to preview
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
As far as I know you must have the scheme selected that holds the preview in order to run previews. So you gotta have the BottomMenu scheme selected to run the ComposableBottomMenu preview 😕. It does seem like as long as the selected scheme builds the preview you should be able to run it. May be worth filing a feedback with apple. |
Beta Was this translation helpful? Give feedback.
-
@amorino @mbrandonw you can also add the Package in question to any other scheme, e.g. I have an iOS App target called Zhip in the Zhip app, it has lots of SPM Packages a la TCA, If I wanna preview lets say a package called In fact, I also add the schemas for my test packages to Tests selection in the left menu of my Zhip iOS Scheme, so that I can run all tests using CMD U. This is convenient because then I no longer need to switch scheme while development, at all I think! I do not know if this has any drawbacks? Maybe longer builds? |
Beta Was this translation helpful? Give feedback.
As far as I know you must have the scheme selected that holds the preview in order to run previews.
So you gotta have the BottomMenu scheme selected to run the ComposableBottomMenu preview 😕.
It does seem like as long as the selected scheme builds the preview you should be able to run it. May be worth filing a feedback with apple.