• 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: Cocoa | Reading Plist/file version of Native binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa | Reading Plist/file version of Native binary


  • Subject: Re: Cocoa | Reading Plist/file version of Native binary
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 27 Nov 2012 10:26:50 -0800

On Nov 27, 2012, at 8:52 AM, "email@hidden" <email@hidden> wrote:

>
>
> On 27 Nov 2012, at 15:42, Kyle Sluder <email@hidden> wrote:
>
>>
>> From the documentation for CFBundleCopyInfoDictionaryForURL:
>>
>> "For a plain file URL representing an unbundled application, this
>> function will attempt to read an information dictionary either from the
>> (__TEXT, __info_plist) section of the file (for a Mach-O file) or from a
>> plst resource."
>>
>> So use that.
> I am not sure from the OP whether the tool is actually part of a bundle or not.

The documentation I quoted explicitly stated that this function works on both bundled and unbundled programs.

--Kyle Sluder
_______________________________________________

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: 
 >Cocoa | Reading Plist/file version of Native binary (From: Sachin Porwal <email@hidden>)
 >Re: Cocoa | Reading Plist/file version of Native binary (From: "Stephen J. Butler" <email@hidden>)
 >Re: Cocoa | Reading Plist/file version of Native binary (From: Sachin Porwal <email@hidden>)
 >Re: Cocoa | Reading Plist/file version of Native binary (From: Kyle Sluder <email@hidden>)
 >Re: Cocoa | Reading Plist/file version of Native binary (From: "email@hidden" <email@hidden>)

  • Prev by Date: Checking document structure in NSDocument based app
  • Next by Date: split views, best practices for 10.8?
  • Previous by thread: Re: Cocoa | Reading Plist/file version of Native binary
  • Next by thread: Checking document structure in NSDocument based app
  • Index(es):
    • Date
    • Thread