pland
pland

Reputation: 858

How can one see an iOS bundle's file structure?

I'm trying to create a subfolder structure in my app following this advice:

Subdirectories within an iOS application

But I can't see (using the Organizer) a way to test whether the subfolder structure is actually achieved or not...is there a way to check, other than jailbreaking the phone and getting in through ssh?

Upvotes: 3

Views: 4920

Answers (3)

kikeenrique
kikeenrique

Reputation: 2669

At the moment, with Xcode 10 and macOS 10.14.X the path for simulators would be:

/Users/<user>/Library/Developer/CoreSimulator/Devices/<XXX>/data/Containers/Bundle/Application/<YYY>

Also, if you want to check for the previous step and check the files that would be inside the *.app(bundle) in Derived Data (to check for devices) the path would be:

~/Library/Developer/Xcode/DerivedData/

Upvotes: 2

Hermann Klecker
Hermann Klecker

Reputation: 14068

If the question relates to *.ipa or *.app boundles, then you can rename them to *.zip and go from there.

Upvotes: 2

WhoaItsAFactorial
WhoaItsAFactorial

Reputation: 3558

You can open the bundle that is installed to the simulator by navigating to:

<User Name>/Library/Application Support/iOS Simulator/<Alpha-Numeric String>/<App Name>.app'

Once you navigate to the above location (it may be .ipa, can't remember exactly) you can right click and choose Show Package Contents which will show you the contents app bundle.

Upvotes: 3

Related Questions