• 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
Re: URLByResolvingBookmarkData: crashes on 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLByResolvingBookmarkData: crashes on 10.8


  • Subject: Re: URLByResolvingBookmarkData: crashes on 10.8
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 05 Nov 2013 13:27:56 -0800

I haven’t seen any crashes like that, but a few weeks ago, while “modernizing" an app, migrating from the old Alias Manager functions to the newer NSURL bookmarks, I learned something interesting.

When I tried to resolve an alias which was on a previously-mounted but currently-unreachable volume, +[NSURL URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:] returned errors in the NSOSStatusErrorDomain, with localized description ending in "Function=FSResolveAlias".  And it also blocked the thread for 30 seconds, before displaying a confusihg modal alert to the user, just like FSResolveAlias() does.

So, although there are some additional bits in the typical alias data, it looks like NSURL bookmarks are based on the old Alias Manager.


_______________________________________________

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


References: 
 >URLByResolvingBookmarkData: crashes on 10.8 (From: patrick machielse <email@hidden>)

  • Prev by Date: URLByResolvingBookmarkData: crashes on 10.8
  • Next by Date: Re: Mutually exclusive item filtering-comparing
  • Previous by thread: URLByResolvingBookmarkData: crashes on 10.8
  • Next by thread: Re: URLByResolvingBookmarkData: crashes on 10.8
  • Index(es):
    • Date
    • Thread