Include iCloud on save dialog box in mac app

早过忘川 提交于 2019-12-20 03:48:06

问题


I have implemented the iCloud support on my Mac document-based app. NSDocument subclass can handle open e save file on local storage and iCloud. But, I can upload my files on iCloud only dragging it on the Open-New File Panel. When the app prompt the user the location to save the file, iCloud is not on the list. Isn't it supported by default like in TextEdit? I have to implement with my own code?

Image here:


回答1:


I managed to fix this problem by

  1. recreating certificates and provisioning profiles
  2. removing the LSItemContentTypes key for my CFBundleDocumentTypes entry in the Info.plist. I also removed the UTExportedTypeDeclarations entry (which may or may not have contained errors).



回答2:


I have same problem. but it is solved when I fix code sign problem. this problem invoked by code sign wrong.



来源:https://stackoverflow.com/questions/13212337/include-icloud-on-save-dialog-box-in-mac-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!