NSSavePanel is not saving a file after sandboxing an app
I'm having a problem saving a string file with NSSavePanel after sandboxing the app for the Mac App Store. I set com.apple.security.files.user-selected.read-write to YES and the NSOpenPanel is working as it should. When I try to save a new file, though, it seems that everything is working fine but then there is no saved file where it should be.... This is the code I am using to save the file: NSSavePanel *save = [NSSavePanel savePanel]; long int result = [save runModal]; if (result == NSOKButton) { NSString *selectedFile = [save filename]; NSString *fileName = [[NSString alloc] initWithFormat: