如何将 xcdatamodel 文件转换为 xcdatamodeld 文件? [英] How to Turn xcdatamodel file into xcdatamodeld file?

查看:58
本文介绍了如何将 xcdatamodel 文件转换为 xcdatamodeld 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还有一个 xcdatamodel 文件.

I still have an xcdatamodel file.

但是,当我创建一个新项目时,xcode 会生成一个 xcdatamodeld 文件(带有一个 d).

However, when I created a new project, xcode generate an xcdatamodeld file (with a d).

我想将我的 xcdatamodel 文件转换为 xcdatamodeld 文件.我知道 xcdatamodeld 是某种形式的目录.

I want to convert my xcdatamodel file into xcdatamodeld file. I know that xcdatamodeld is some form of directory.

我该怎么做?

我无法将实体复制到 xcdatamodeld 文件

I can't copy the entity to the xcdatamodeld file

推荐答案

我的回答来自 如何创建神奇的 .xcdatamodeld 文件夹/包?:

要创建模型包,请选择单个模型,打开主菜单中的 Editor 菜单,然后选择 Add Model Version….

To create a model bundle you select the single model, open the Editor menu in the main menu and select Add Model Version….

这篇关于如何将 xcdatamodel 文件转换为 xcdatamodeld 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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