Re: Set build options help
Re: Set build options help
- Subject: Re: Set build options help
- From: Shane Stanley <email@hidden>
- Date: Tue, 02 Feb 2016 14:33:58 +1100
On 2 Feb 2016, at 2:16 PM, Brian Christmas <email@hidden> wrote:
>
> in Xcode, how do I set….
>
> 1. the version of my app
Click on the project icon in the Project Navigator. Click on the General tab. Click on your app under the heading TARGETS in the left of the pane, and enter a value where it says Version.
>
> 2. a number for the bundle
Just below Version.
>
> 3. set the bundle to update with every new build
You have to add a bash script. Ask Google.
>
> 4. Using Applescript, retrieve the version and bundle numbers, please?
From within the app? current application's NSBundle's mainBundle()'s objectForInfoDictionaryKey:"CFBundleShortVersionString". Use "CFBundleVersion" as the key for bundle version.
>
> There’s just so many darn options, I don’t know where to start.
Xcode Help. Start at the beginning.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden