Xcode 11 Canvas无法在此文件中预览

时间:2020-04-29 22:29:31

标签: xcode swiftui

我无法在画布中预览我的应用。

Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
NSLocalizedFailureReason=An application bundle was not found at the provided path., NSLocalizedRecoverySuggestion=Provide a valid path to the desired application bundle., NSLocalizedDescription=Failed to install the requested application}

这是运行诊断。有什么办法吗?我仍然能够使用iOS模拟器。谢谢

1 个答案:

答案 0 :(得分:0)

由于某种原因,Xcode 11无法为我检测到代码的实质性更改。我要做的就是清除构建-Product | Clear Build Folder,然后单击try again