• 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:17:55 +0200

Ah, here we go:

http://lists.apple.com/archives/xcode-users/2009/Mar/msg00286.html

"For unbundled Mach-O executables, you can create an __info_plist section in the executable's __TEXT segment and put the contents of your information property-list file there."

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: XCode 4 settings
  • Previous by thread: Re: version/build number for command line tool
  • Next by thread: Snapshot of XCode 4 is very boring
  • Index(es):
    • Date
    • Thread