在 Xcode 5 中编辑故事板非常慢 [英] Editing storyboard in Xcode 5 is very slow

查看:60
本文介绍了在 Xcode 5 中编辑故事板非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 Xcode 5,故事板编辑很慢.每次启动 Xcode 时,我都会收到以下消息:

I have Xcode 5 and storyboard editing is very slow. Each time I start Xcode I get the message:

文档MainStoryboard.storyboard"有 26 个内部不一致,已被发现并修复."

"The document "MainStoryboard.storyboard" had 26 internal inconsistencies that were found and repaired."

"多个资源同名:yellowbutton.png 等.上述问题可能是由于 SCM 操作(例如合并)导致的."

"Multiple resources have the same name: yellowbutton.png, etc. The preceding issues may have occurred due to an SCM operation such as merging."

删除工作区文件的标准解决方案没有帮助.我该如何解决这个问题?

Standard solutions as deleting the workspace file did not help. How can I solve this?

谢谢!

推荐答案

当我在 uitoolbar 中添加分段控件时,我得到了类似的结果.它会爬行,但只有当 Xcode 在我的外部显示器上时.奇怪的是,诀窍是确保将段控件样式设置为 Bar.

I had a similar result when I added a segmented control inside a uitoolbar. It would crawl but only when Xcode was on my external monitor. What did the trick, oddly enough, is making sure the segment control style is set to Bar.

这篇关于在 Xcode 5 中编辑故事板非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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