Xcode 10 故事板 UI 组件不可见且速度非常慢? [英] Xcode 10 storyboard UI components are not visible and painfully slow?

查看:21
本文介绍了Xcode 10 故事板 UI 组件不可见且速度非常慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我有 Xcode 9 时,我的代码工作正常(正确显示 UI),我将它从应用程序文件夹中删除(无法更新,因为它是使用另一个 Apple id 安装的)并从 Appstore 重新安装 Xcode 10.

My code was working fine (showing UI properly) when I had Xcode 9 and I removed it from the application folder (could not update as it had installed using another apple id) and reinstall the Xcode 10 from the Appstore.

现在 Xcode 故事板没有显示任何添加的 UI 元素颜色或任何内容,我删除了 Xcode 10 并再次安装了 Xcode 9,但问题仍然存在.

Now Xcode storyboard not showing any added UI elements colors or anything and I removed Xcode 10 and installed Xcode 9 again but problem remains same.

故事板的 UI 屏幕截图.

UI screen shot of storyboard.

我尝试以这种方式删除 Xcode:

I tried removing Xcode in this way:

/Applications/Xcode.app
/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/Caches/com.apple.dt.Xcode
~/Library/Application Support/Xcode
~/Library/Developer/Xcode
~/Library/Developer/CoreSimulator

然后我尝试安装 macOs Mojave 并从 Appstore 再次安装 XCode 10.问题依然存在.我尝试清理派生数据、xuserdata 和所有内容.

Then I tried installing macOs Mojave and install XCode 10 again from the Appstore. Issue still remains. I tried cleaning derived data, xuserdata and everything.

推荐答案

尝试使用Command + K"清理您的项目并再次运行您的项目!希望它有效!

Try cleaning your project using "Command + K" and run your project again! Hope it works!

这篇关于Xcode 10 故事板 UI 组件不可见且速度非常慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆