Helpful trick with Info.plist


    Jul 17 2006 | 3:09 pm
    One little tweak...
    Before duplicating an XCode project folder to start a new project,
    you can turn on the "Preprocess the Info.plist file" option (Edit
    Active Target; Collection: Packaging, 9th item down the list of
    options), then edit your Info.plist so that CFBundleExecutable is $
    (PRODUCT_NAME) and CFBundleIdentifier analogously.
    This change means that you don't need to manually edit Info.plist
    when you clone a new project. Saves maybe 20 seconds per project
    (before you yawn, multiply that by 100 or more projects). Seems to be
    working here.
    Now if I can just figure out how to get my object version information
    into Info.plist automatically...
    -- Peter
    -------------- http://www.bek.no/~pcastine/Litter/ -------------
    Peter Castine +--> Litter Power & Litter Bundle for Jitter
    Universal Binaries on the way
    iCE: Sequencing, Recording &
    Interface Building for |home | chez nous|
    Max/MSP Extremely cool |bei uns | i nostri|

    • Jul 18 2006 | 8:54 am
      >
      > Now if I can just figure out how to get my object version information
      > into Info.plist automatically...
      How about generating the Info.plist file with a custom build step?
      greetings,
      Thomas
    • Jul 18 2006 | 9:44 am
      On 18-Jul-2006, at 10:54, Thomas Grill wrote:
      > How about generating the Info.plist file with a custom build step?
      Thanks, I'll look into it.
      Having spent the last few days typing innumerable #pragma unused
      lines and changing symbolic constants from 'const int foo =' to
      '#define foo' for the benefit of an execrably lame compiler, it will
      be a pleasant change if XCode can do something helpful.
      -- P
      -------------- http://www.bek.no/~pcastine/Litter/ -------------
      Peter Castine +--> Litter Power & Litter Bundle for Jitter
      Universal Binaries on the way
      iCE: Sequencing, Recording &
      Interface Building for |home | chez nous|
      Max/MSP Extremely cool |bei uns | i nostri|