Xcode 5.0中iCloud Ubiquity容器的奇怪问题 [英] Strange issue for iCloud Ubiquity Container in Xcode 5.0

查看:109
本文介绍了Xcode 5.0中iCloud Ubiquity容器的奇怪问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在商店中分发了我的iPad/iPhone通用应用程序"Consumptions".该应用程序使用iCloud UIDocument在设备之间共享数据库.工作正常 ;-) 现在,我想开发一个可以访问同一iOS iCloud文档的OS X挂件.在Xcode/Capabilities中,我尝试将iOS项目中的Ubiquity Container添加到Mac项目中,但出现红色!".在Mac项目中.如果我单击修复问题",则!"在Mac项目上消失,但在iOS项目上出现. 有提示吗?

I have distributed my iPad/iPhone universal app "Consumptions" in the store. The app uses iCloud UIDocument to share the database between the devices. Works fine ;-) Now I want to develop an OS X pendant with access to the same iOS iCloud document. In Xcode/Capabilities I tried to add the Ubiquity Container from the iOS project to the Mac project but I get a red "!" in the Mac project. If I click on "Fix Issue" the "!" disappears on the Mac project but appears on the iOS project. Any hints?

推荐答案

我遇到了同样的问题.我的解决方案是在iOS和OS X项目的Xcode 5的构建设置/代码签名"部分下手动添加配置文件".

I had the same problem. My solution was to manually add a "Provision Profile" under "Build Settings / Code Signing" section in Xcode 5 for the iOS and OS X project.

这篇关于Xcode 5.0中iCloud Ubiquity容器的奇怪问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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