• 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: CoreData - cannot load .sqlstore if path contains Alias folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData - cannot load .sqlstore if path contains Alias folder


  • Subject: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • From: "Simon Liu" <email@hidden>
  • Date: Wed, 5 Sep 2007 20:20:47 +0100

Chris,

Is there a quick way to resolve all the aliases in a given path,
checking all path components?  Any 3rd party classes?  I could write
some code using FSResolveAliasFile() but I imagine somebody has
already done this...

BTW: I tried BDAlias -initWithPath: and that fails - I guess it needs
a fully resolved posix path?

--Simon

> This has nothing to do with Core Data.  Finder aliases are not
> resolved automatically in the same way that symbolic links are; they
> need to be resolved manually using the Carbon File Manager.  This is
> not normally a problem as only manually-typed paths are likely to
> contain elements that are Finder aliases; paths returned by
> NSOpenPanel or NSSavePanel won't.
>
>    -- Chris
>
>
_______________________________________________

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: CoreData - cannot load .sqlstore if path contains Alias folder
      • From: Chris Hanson <email@hidden>
References: 
 >CoreData - cannot load .sqlstore if path contains Alias folder (From: "Simon Liu" <email@hidden>)
 >Re: CoreData - cannot load .sqlstore if path contains Alias folder (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Next by Date: Re: [ANN] RegexKit - An Objective-C Framework for Regular Expressions Using the PCRE Library
  • Previous by thread: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Next by thread: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Index(es):
    • Date
    • Thread