在开发过程中使用生产CloudKit?

编程入门 行业动态 更新时间:2024-10-28 07:31:18
本文介绍了在开发过程中使用生产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?

本文发布于:2023-07-22 04:02:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1183970.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:过程中   CloudKit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!