Use this code instead:
NSURL *fileURL = your file URL;
NSArray *fileURLs = [NSArray arrayWithObjects:fileURL, nil];
[[NSWorkspace sharedWorkspace] activateFileViewerSelectingURLs:fileURLs];
This works on 10.6+. If you want to show and select more than one file on Finder just add more NSURLs
to the array and you're good to go.