How to distinguish between a SwiftUI Preview build and Cmd+B build?

45 views Asked by At

I need to run a Build phase only if an actual build (Cmd+B or Play-button) and not if the SwiftUI Previewer builds the app.

I did not find any differences in both types of build.

0

There are 0 answers