Skip to content

Starting iOS 17 malformed bundle installation fails with leftovers on device. #170

Description

@mickelluchko

For example sign IPA with a "wrong" mobile provision and try to install it on device.
Installation fails as expected but there malformed leftover remains.
Proposing adding following code to the ideviceinstaller.c

... 
idevice_wait_for_command_to_complete();
res = 0;

if (cmd == CMD_INSTALL && err_occurred && bundleidentifier) {
	instproxy_uninstall(ipc, bundleidentifier, NULL, NULL, NULL); 
	wait_for_command_complete = 0; // dont care ...
	notification_expected = 0;
}

/* not needed anymore */
lockdownd_client_free(client);
client = NULL;

leave_cleanup:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions