getWritablePath on OSX - wrong location?

Hi All,

getWritablePath on OSX is pointing to the documents directory, but Apple seems to recommend putting game save files in the ApplicationSupport directory - as described here: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW1

I implemented this change in my branch. Here’s the link in case anybody wants it:

1 Like

Can you submit a pull request for us?

I’m behind schedule on my project, so it’ll be a while before I can submit a proper pull request… sorry =(
I’m working on a branch from 3.4 and it’ll be rejected if I don’t apply the changes to the latest code. It should be easy to manually apply though since I modified the entire getWritablePath() function in CCFileUtils-apple.mm

Thanks! I can create one