1

Is There a way to optimize SwiftUI preview builds so it can be done faster ? I have a very big project and each time I need to do a View preview it would take forever building the entire project

For example I don't want some pods to be compiled on build isa there a way to avoid that ?

Marchal
  • 286
  • 2
  • 16

1 Answers1

0

You can also try using the "Build Active Architecture Only" option in your project's build settings. This will prevent the compiler from building code for multiple architectures, which can help reduce build time.