Home About Notes

Bundles

Jan 09, 2023

If you are debugging bundles you will often want to get the location of where those bundles are on your filesystem. To find them at runtime:

let bundles = Bundle.allBundles
// or in the Xcode console.
po Bundles.allBundles

You can get the file path of them and view them in the finder/terminal.

You can also inspect what localisations are available to you in you bundle:

Bundle.main.localizations
// Or in your module
Bundle.module.localizations