在开发过程中使用生产CloudKit? [英] Use production CloudKit during development?

查看:317
本文介绍了在开发过程中使用生产CloudKit?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的iOS和Mac应用程序已经发布到App Store,我的所有用户(包括我自己)都在使用CloudKit生产数据库。我的问题是,有没有办法针对我的开发构建定位生产环境?似乎没有办法将生产环境定位到Mac App Store之外,而对于iOS,只有Ad Hoc分发可以定位到生产环境。

My iOS and Mac apps have been launched to the App Store and all of my users, including myself, are using the CloudKit production database. My question is, is there any way to target the production environment for my development builds? It seems there is no way to target the production environment outside of the Mac App Store, and for iOS, only Ad Hoc distribution can target the production environment.

推荐答案

将以下条目添加到权利文件并执行干净构建。

Add the following entry to your entitlements file and perform a clean build.

这允许您在生产模式下使用cloudKit在Xcode中运行您的应用程序。

This allows you to run your application in Xcode with the cloudKit in the production mode.

要添加的条目: com.apple.developer.icloud-container-environment

这篇关于在开发过程中使用生产CloudKit?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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