spawn-browse is a .c program. No need to link with Foundation.framework
Inserted newlines, so that error messages reads better in the console