Hi YVan
That does not work, however this does (also) compile:
CFURLRef bundleUrl = CFBundleCopyBundleURL (bundle);
The warning that is generated a few lines below can be removed by casting the CFURLRef as id:
auto resUrl = [(id)bundleUrl URLByAppendingPathComponent:@“Contents”];
Best,
- Will