是否可以导出所有云工具包数据? [英] Is there any option to export all cloud kit data?

查看:75
本文介绍了是否可以导出所有云工具包数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发应用程序,并设置了开发环境。现在,我想转到生产环境。
是否可以通过云工具包将所有数据从开发转移到生产?

我可以以Json格式导出所有数据吗?

I am working on a application and I setup a development environment. Now I want to move to production environment. is There any option for moving all the data from development to production in cloud kit? or Can I export all the data in Json format?

推荐答案

仅在部署到生产环境时

您将不得不编写代码以复制数据(例如,您提到的JSON或将数据持久存储在CoreData中,进行同步)开发环境,然后切换到生产环境,重新运行代码并重新同步)或手动重新输入。

You will either have to write code to copy the data (E.g. JSON as you mentioned or persist the data locally in CoreData, synchronise with the development environment, then switch to the production environment, re-run the code and resync) or re-enter it manually.

如果您使用代码,请在在使用权利文件的开发和生产环境中,下面显示了我的供参考(根据需要将生产更改为开发并重建代码):

If you do use code, switch between the development and production environments using an entitlements file, mine is shown below for reference (change Production to Development as necessary and rebuild your code):

这篇关于是否可以导出所有云工具包数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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