ideviceinstaller can't find Payload dir in zip
Reported by Todd Wright | September 6th, 2012 @ 05:12 PM
When I run ideviceinstaller -U ... -i myapp.ipa
it
complains:
Unable to locate Payload folder in archive! but unzip
-v
lists that dir:
0 Stored 0 0% 09-06-12 11:15 00000000 Payload/ This zip works with
an older ideviceinstaller build (~4/12 on osx 10.6.8).
The problem seems to be that the zip_get_name finds "Payload/" not "Payload", so an easy fix is to check for a trailing "/" and remove it. I patched my local checkout and this fix worked for me.
I'm running on mac 10.8 w/ xcode 4.4.1, libzip2 0.10-1, and the latest git clone of ideviceinstaller.
Comments and changes to this ticket
-
Todd Wright September 6th, 2012 @ 05:53 PM
If you like the patch, I'd be happy to commit it to git...
-
Martin S. March 19th, 2013 @ 11:55 AM
- State changed from new to resolved
- Tag set to ideviceinstaller
- Assigned user set to Martin S.
Fixed in git master. The logic has been reworked to handle all the cases.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org