Using info.plist for storing target-specific values for a multi-target app

Posted by andybee on Stack Overflow See other posts from Stack Overflow or by andybee
Published on 2010-06-07T11:47:23Z Indexed on 2010/06/07 11:52 UTC
Read the original article Hit count: 446

Filed under:
|
|

I have a multi-target iPhone app which currently includes a header file with constant definitions that are conditionally included at build time depending on which target is being built.

However, I was wondering if it might be better to instead include this information in the info.plist for the build, as this generally holds target-specific meta, so logically seems more appropriate.

Therefore, my questions are:

  1. Is it acceptable to include custom (non-Apple defined) keys in the info.plist file?
  2. Is this a suitable place to include meta for the app which changes between targets?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad