How To Find App’s Container

During testing your app you might find it challenging to find the app’s container.

Let’s say you’re in

/var/containers/Bundle/Application

but when you use the “ls” command you have only a list of UUIDs.

For example:

ls

0B9131D6-7F8F-4CB7-8BB3-267B3761DFBD/
62C4B447-E226-4855-B0F4-50219543AF35/  
83CC1D2E-287A-4554-B84B-7932C1D4E684/  
AECD1F98-8560-4829-8143-225C32B67FB0/
F8EF1587-2C36-4ED9-ABAF-7D7DE0E7ED20/
1779863A-EE9C-4388-B0AF-83D342E0C1F2/
// the rest of the applications

You can visit each directory and check if it’s your app but you don’t need to.

Yet, you can add * to ls and you have a list of what each directory contains.

For example:

ls *

0B9131D6-7F8F-4CB7-8BB3-267B3761DFBD:
BundleMetadata.plist  Calculator.app/

1779863A-EE9C-4388-B0AF-83D342E0C1F2:
BundleMetadata.plist  Measure.app/

25F5B1BA-E9E1-4CC3-9910-7CD302819A2C:
BundleMetadata.plist  MobileStore.app/
// the rest of the applications