Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

ideviceinstaller can't find Payload dir in zip

#283

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.

Reported by Todd Wright · September 6th, 2012 @ 05:12 PM

State: resolved
Milestone: none
Assigned to: Martin S. Martin S.

Activity

  1. Todd Wright
  2. Todd Wright
    Todd Wright

    If you like the patch, I'd be happy to commit it to git...

    September 6th, 2012 @ 05:53 PM

  3. Martin S.
    Martin S.
    • 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.

    March 19th, 2013 @ 11:55 AM

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.