NSString *pathString = ... whatever ...; FSRef ref; status = FSPathMakeRef ((const UInt8 *)[pathString fileSystemRepresentation], &ref, NULL); if (status != noErr) { NSLog (@"bummer. couldn't make FSREf from path '%@'", pathString); }