What happens to data folder when app is built?

#1

My app reads/writes files to/from the data directory. When I build/archive my app and run it, where are these files living? I looked everywhere through the app’s package contents and didn’t find any sort of accessible internal data repo. I also checked ~/Library/Application Support/ without seeing anything related to my app. How does this work?

#2

Ah nevermind, found the answer here.