In a C ++ iOS project (or any other Mac OS), is there an easy way to make the value available for both Info.pList parameters and the code as a preprocessor macro?
Ideally, I would like to have something like this
C ++ Code:
#define MY_VERSION_STRING "1.0"
Info.plist
CFBundleVersion: ${MY_VERSION_STRING}
Or, conversely, is there a way to get values from .pList in C ++? (Without manually parsing .pList as xml.)
c ++ c-preprocessor ios
Rob agar
source share