Hi,
I'am looking for the "key" (Xcode) of name of package because my external config file must have the same name (not name of app). I would like to have a dynamic link between name of package AND name of external config file.
I tried : WRAPPER_NAME=@\""$WRAPPER_NAME"\" into Preprocessor macros but WRAPPER_NAME gives me name of app, so if i change name of package, it fails because it does not find config file.
Bye,
I found a solution :
the name of config file does not change and I make a copy of config file, into package
I add these commands into Xcode :
NSBundle *main = [NSBundle mainBundle];
NSString *chemin = [main pathForResource:@"config" ofType:@"txt"];
so that the link to config file can be found anywhere even if name of package is changed.