Question

What is the equivalent of Window's C:\Users\userName\AppData\Roaming\appName?

I need a directory that won't cause permission problems to store the updateable part of my application so I can automatically download and override my content.

Thank you.

Was it helpful?

Solution

/Users/USERNAME/Library/Application Support/

Edit:

This answer has drawn a lot of upvotes despite its minimalistic nature. Therefore, I want to point out the things mentioned in the comments here to make them more visible:

  • There are several other folders being used for application data / configuration, as mentioned in this answer.
  • If writing an application, don't hardcode that path. Instead, use macOS' API to retrieve it. This question has several answers for both ObjectiveC and Swift.

OTHER TIPS

~/Library/Application Support/ 

in shift+command+G in finder

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top