• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iCloud does not appear on open, save or move to dialogs for Mac Document based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iCloud does not appear on open, save or move to dialogs for Mac Document based app


  • Subject: iCloud does not appear on open, save or move to dialogs for Mac Document based app
  • From: Jim McGowan <email@hidden>
  • Date: Mon, 19 Nov 2018 16:16:51 +0800

Hi,

I posted this on the Developer Forums a week ago, but unfortunately i didn’t
receive any replies.  Perhaps someone here can help.

I have an existing Core Data document based app, my document class is a
sublcass of NSPersistentDocument, and I use an XML store type.  My next update
will move to being Mac App Store exclusive, so I can take advantage of iCloud
features and I want to add iCloud Documents.

I turned on the iCloud Capability in XCode, and checked the "iCloud Documents"
option under "Services:"  I'm using the default container option.  I can see
the container has been created in the local file system, and I can also see in
listed on developer.apple.com under my account > Certifiates, Identifiers &
Profiles > iCloud Containers.

In my App Delegate's +initialize method I use GCD to dispatch a call to
[[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:nil] on a
background queue.  This method correctly returns the URL for the container.

However, when I run my app, I don't see the iCloud container listed in either
the sidebar or popup menu in open and save dialogs, and neither do I see it in
popup menu in the Move To... dialogue.

Am I missing some additional steps?

Thanks,
Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app
      • From: Rob Petrovec <email@hidden>
  • Prev by Date: Definitive guide to custom modal presentation?
  • Next by Date: continuity scanner
  • Previous by thread: Definitive guide to custom modal presentation?
  • Next by thread: Re: iCloud does not appear on open, save or move to dialogs for Mac Document based app
  • Index(es):
    • Date
    • Thread