Xcode unable to view completed build

After completing an assignment in Xcode and hitting the Build button, nothing shows in the right window. How do I fix it? My students need to see their work. It works perfectly on a MacBook Pro but not on multiple Mac devices.

  • Which right window do you mean ? Preview ? Is it SwiftUI ?

Add a Comment

Replies

Previews intentionally pause when you hit Command-B to avoid builds for previews accidentally stomping on builds for running. When the preview pauses you should be able to hit the refresh button in the preview area to restart the preview, or use the key combo Command-Option-P.