UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

SOLVED: HELP PLEASE! "Active scheme does not build this file"

Forums > 100 Days of SwiftUI

On several of my sample projects, when I return to them after working on other projects, I get a "Cannot preview in this file" error message and I cannot preview the App. They run fine in in the simulator and/or on device.

I have searched to no avail, can somone give me simple instructions to update/refresh/rebuild teh scheme in an App so as to get back to normal?


After a few more days of digging... I moved my root Xcode folder from an external SSD to my System drive and by magic everything is working again correctly. Have to say that I read about people having issues with thei rprojects on iCloud and other 3rd party online storage but did not see anyone having issues "within" their machines as such.

Hey ho, learn something new every day!


Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.