storoj / libimobiledevice-win32

win32 port of libimobiledevice (http://libimobiledevice.org)
64 stars 61 forks source link

Communication error(code -3) in property_list_service_client_new function. #17

Closed chauhanakhil closed 9 years ago

chauhanakhil commented 9 years ago

I am debugging this code but at this point i am finding DEVICE_LINK_SERVICE_E_MUX_ERROR(-3) in the below function:

device_link_service_error_t device_link_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, device_link_service_client_t *client) { property_list_service_client_t plistclient = NULL; if (property_list_service_client_new(device, service, &plistclient) != PROPERTY_LIST_SERVICE_E_SUCCESS) { return DEVICE_LINK_SERVICE_E_MUX_ERROR; } } this is returning -3(DEVICE_LINK_SERVICE_E_MUX_ERROR). In this property_list_service_client_new fuction there is another function service_client_new(device, service, &parent) in this function another function is if (idevice_connect(device, service->port, &connection) != IDEVICE_E_SUCCESS) { return SERVICE_E_MUX_ERROR; this is giving error. Please help.