i'm searching for a way to open my other application with parameters and found a very good post here, but on my developer machine I have like 10 test/brach/release versions of my application and only one current stable version in /Application folder.
Both this code:
NSWorkspace *workspace = [NSWorkspace sharedWorkspace];
NSURL *url = [NSURL fileURLWithPath:[workspace fullPathForApplication:@"My Application"]];
NSURL *url = [workspace URLForApplicationWithBundleIdentifier:@"it.my_company.my_application"];
points to the wrong test/branch/release version. How do I find the URL of my application in /Application folder or at least URL at same level as my current running application?