I have been playing around with NSWorkspace.
[[NSWorkspace sharedWorkspace] launchApplication:@"Photos"]works[[NSWorkspace sharedWorkspace] launchApplication:@"Contacts"]does not work[[NSWorkspace sharedWorkspace] launchApplication:@"/Applications/Contacts.app"]works
(Mac OS Sierra)
So, I was wondering if there is any safe way to find the "real" application path. Maybe the Contacts app has different names in different localization of the System ? Why is just "Photos" working fine ?
I would imagine that there should be a way, from an Apple documented application identifier to get the application path, but I found nothing.