• 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: Set build options help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Set build options help (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Set build options help
  • Next by Date: Re: Set build options help
  • Previous by thread: Re: Set build options help
  • Next by thread: Re: Set build options help
  • Index(es):
    • Date
    • Thread