I couldn’t find a convenient way to create an alias, so I went with a symlink. I’m worried that that might not be good enough. Maybe the icon doesn’t show on some versions of OS X or something like that.
[[NSFileManager defaultManager] createSymbolicLinkAtPath:aliasPath withDestinationPath:destPath error:nil];
Is this sort of thing the best I can do?
http://www.danandcheryl.com/2009/08/how-create-alias-programmatically
To create an alias, take a look at NDAlias, at http://www.cocoadev.com/index.pl?NDAlias