• 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: version/build number for command line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: version/build number for command line tool


  • Subject: Re: version/build number for command line tool
  • From: Alexander von Below <email@hidden>
  • Date: Mon, 02 May 2011 16:16:17 +0200

No, this is not what he was asking about (But thanks for the generally useful hint)

What he is looking for is the way Crash Reporter finds the version information in a command line executable, and his hunch was, that possibly an info.plist could be embedded as a DATA segment of the executable, or something along these lines.

Unfortunately, however, I can not answer this question but would very much like to know the answer!

Alex


Am 02.05.2011 um 16:11 schrieb Joshua Moody:

>
> On May 2, 2011, at 2:52 PM, Scott Ribe wrote:
>
>> What's the easiest way to embed a version/build number into a command-line tool such that it will show up in a crash report?
>>
>> I recall at one point seeing some way to embed a plist into a single-file executable. Is that what I need to do?
>
> I'm not sure if this is will help you, but I extract version numbers with PlistBuddy.
>
> /usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$INFOPLIST_FILE
>
> jjm
>
>> --
>> Scott Ribe
>> email@hidden
>> http://www.elevated-dev.com/
>> (303) 722-0567 voice
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> Joshua Moody
>
> email: email@hidden
>
> iChat:  email@hidden
> Skype:  morethan50eggs
>
> http://littlejoysoftware.com/
>
> US:   +1 802  659 0087
> UK:  +44  20 3286 1473
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >version/build number for command line tool (From: Scott Ribe <email@hidden>)
 >Re: version/build number for command line tool (From: Joshua Moody <email@hidden>)

  • Prev by Date: Re: version/build number for command line tool
  • Next by Date: Re: version/build number for command line tool
  • Previous by thread: Re: version/build number for command line tool
  • Next by thread: Re: version/build number for command line tool
  • Index(es):
    • Date
    • Thread