based on zsero answer
Details
macOS 10.13.1
Solution 1
Run the following line in the terminal
Template
open `xcrun simctl get_app_container booted BUNDLEID_OF_YOUR_APP data` -a Finder
Full Sample
open `xcrun simctl get_app_container booted com.Test data` -a Finder
BUNDLEID_OF_YOUR_APP ???
BUNDLEID_OF_YOUR_APP = "Bundle Identifier"
Features of the solution 1
- open file to get app simulator directory
Solution 2
Create a bash scrip with a name of your app and code:
script_file_name = `basename "$0"`open `xcrun simctl get_app_container booted $script_file_name data`
Features of the solution 2
- open file to get app simulator directory
- rename file to get another app simulator directory