Are SwiftUI Previews source code included in release build?

Hello colleagues.

My question is whether or not Xcode Previews source code included (or removed) starting Xcode 12.5 in:

  • final binary of the application?
  • SwiftPM package library artifact?

I know there's "Development Assets" folder that's included for previews only. But I didn't really find information about preview source code.

Thanks, Dzmitry.

Are SwiftUI Previews source code included in release build?
 
 
Q