You have to use either CoreFoundation (C) or Foundation (ObjC). Every objects in your app bundle (the "Main bundle") can be accessed using CFBundle
/NSBundle
functions.
In CoreFoundation you do (NULL-checks omitted):
CFURLRef manifest_url = CFBundleCopyResourceURL(CFBundleGetMainBundle(),
CFSTR("manifest"), CFSTR("xml"),
NULL);
char manifest_path[1024];
CFURLGetFileSystemRepresentation(manifest_url, true,
manifest_path, sizeof(manifest_path));
CFRelease(manifest_url);
FILE* f = fopen(manifest_path, "r"); // etc.
In Foundation you do
NSString* manifest_string = [[NSBundle mainBundle] pathForResource:@"manifest"
ofType:@"xml"];
const char* manifest_path = [manifest_string fileSystemRepresentation];
FILE* f = fopen(manifest_path, "r"); // etc.