我已经在商店中分发了我的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容器的奇怪问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程技术网(www.editcode.net)!