简体   繁体   English

无法在此文件中预览 - 无法获取 [AppName].app 的沙盒容器位置

[英]Cannot preview in this file - Failed to get the location of the sandbox container for [AppName].app

I just updated to macOS Big Sur.我刚刚更新到 macOS Big Sur。 I created a new xcode product and opened up the contentview editor.我创建了一个新的 xcode 产品并打开了内容视图编辑器。 I want to get the live previews going, but I keep getting the error "Cannot preview in this file - Failed to get the location of the sandbox container for [AppName].app".我想让实时预览继续进行,但我不断收到错误消息“无法在此文件中预览 - 无法获取 [AppName].app 的沙盒容器的位置”。 I have absolutely no clue what is going on.我完全不知道发生了什么。 The only code written is the default code provided when you make a new xcode swiftUI project.唯一编写的代码是新建 xcode swiftUI 项目时提供的默认代码。

Fixed, I just updated my version of xcode.已修复,我刚刚更新了我的 xcode 版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM