how to check the content present in the assets.car and unix executable file .ipa.
Is possible to extract Assets.Car and Unix Executable file .ipa file
A
.ipa
file is simply a zip archive with a different extension. If you change the extension to
.zip
, you can unpack it by simply double clicking it in the Finder.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Yes.. i use .zip to extract the ipa file.
But after expanding .app file using `Show Package Contents` i have two files assets.car and unix excutable file in that. These two files consume more memory compare than others. So i want to extract/validate the content in that.
About .car...seen the discussion in the SO thread?
https://stackoverflow.com/questions/22630418/analysing-assets-car-file-in-ios
These two files consume more memory compare than others. So i want to extract/validate the content in that.
I can’t really help on the asset catalogue stuff — that’s outside of my area of expertise — but I can offer some guidance with regards your executable.
You can poke around inside a Mach-O image using tools like
nm
,
otool
and
size
(see their
man pages for more info) but I find it’s better to come at this from the build side. My weapon of choice here is the link map, which lists every symbol included in your Mach-O and its size. To create this link map, set the Write Link Map (
LD_GENERATE_MAP_FILE
) build setting.
Once you have this map, first use it to verify that your Mach-O doesn’t include extraneous stuff. If it does, you can then investigate why it’s not being stripped out. After that, you can process the data to determine what’s contributing most to the size and use that to guide your optimisations.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"