If you want to automate getting the location or use that folder in scripting, you can get the precise location from a running simulator with the following command:
xcrun simctl get_app_container booted my.app.id data
If you want to automate getting the location or use that folder in scripting, you can get the precise location from a running simulator with the following command:
xcrun simctl get_app_container booted my.app.id data