XCode 4数据模型版本控制错误? [英] XCode 4 Data Model Versioning bug?

查看:179
本文介绍了XCode 4数据模型版本控制错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装Xcode 4,它似乎很好...除非,当我尝试添加版本控制到Core Data模型。在说明中,我说应该在导航器中选择数据模型,然后选择选择编辑器>转换为版本控制模型。好了,编辑器菜单没有项转换为版本模型!跳过这一步会崩溃XCode 4.此外,我不能相信没有支持XCode 4现在,它是一个付费产品!有任何想法吗?

解决方案

首先选择您的xcdatamodeld文件,然后转到编辑器菜单,选择添加模型版本选项。
创建新版本后,再次选择xcdatamodeld文件,并确保显示了实用程序边栏,并选择第一个图标文件检查器。您将有一个版本化数据模型选项。



希望这是您正在寻找的。

Installed Xcode 4 and it all seems fine... except, when I try to add versioning to a Core Data model. In the instructions it says I should select the data model in the navigator and then "Choose Editor > Convert to Versioned Model." Well, the "Editor" menu does not have an item "Convert to Versioned Model"!!! Skipping this step crashes XCode 4. Also, I can't believe that there is no support for XCode 4 now that it is a pay product! Any ideas?

解决方案

First select your xcdatamodeld file and go to the Editor Menu and select the Add Model Version option. After you create your new version select again the xcdatamodeld file and be sure you have the Utilities sidebar shown and select the first icon, the File Inspector one. You will have a Versioned Data Model option.

Hope that was what you were looking for.

这篇关于XCode 4数据模型版本控制错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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