Preprocess strings file during Xcode build

Posted by stigi on Stack Overflow See other posts from Stack Overflow or by stigi
Published on 2010-05-14T13:37:05Z Indexed on 2010/05/15 6:14 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

Hello,

I know there's a way to preprocess my info.plist file, but is there a similar way to process strings files inside my Settings.bundle?

My problem: I have an iPhone app and I want the the user to know about the currently installed version. I do this by displaying it in the apps settings. Now every time i change the bundle version in my info.plist i also have to change the version in the Root.strings in the Settings.bundle. I could run a script action that updates it, but it would be nice to use the preprocessor since I could do even more fun things with it.

Thanks!

© Stack Overflow or respective owner

Related posts about xcode

Related posts about cocoa-touch