Info.plists in bundles are extracted from .ipa and overwrite the main Info.plist
Suggested Fix: Check if the Info.plist from the zip is in the root folder (Payload/xxxxxx.app). For example (lines 104 / 105):
if (($fileinfo['basename']=="Info.plist" && preg_match('/^Payload\/[^\/]+\.app$/i', $fileinfo["dirname"]) == 1)
|| $fileinfo['basename']==$this->itunesartwork) {
By the way, thanks for the code. Maybe you should call it IPA-Distribution instead of IPA-DistrUbution. I guess many people won't find it because of the spelling mistake.
HI wbroek ,
Thank you very much for this code. I am creating one web app using this .But while doing this copy icon image from .ipa file.
but this image is compress so when i try to open or show this image in web page it give me black image. I search lot but i doesn't get how to uncompressed this image.
Please can you tell me how should I uncompress this image .