summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicedebug.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c
index 1d49e07..c9648d0 100644
--- a/tools/idevicedebug.c
+++ b/tools/idevicedebug.c
@@ -63,13 +63,7 @@ static instproxy_error_t instproxy_client_get_object_by_key_from_info_directiona
63 instproxy_client_options_add(client_opts, "ApplicationType", "Any", NULL); 63 instproxy_client_options_add(client_opts, "ApplicationType", "Any", NULL);
64 64
65 // only return attributes we need 65 // only return attributes we need
66 plist_t return_attributes = plist_new_array(); 66 instproxy_client_options_set_return_attributes(client_opts, "CFBundleIdentifier", "CFBundleExecutable", key, NULL);
67 plist_array_append_item(return_attributes, plist_new_string("CFBundleIdentifier"));
68 plist_array_append_item(return_attributes, plist_new_string("CFBundleExecutable"));
69 plist_array_append_item(return_attributes, plist_new_string(key));
70 instproxy_client_options_add(client_opts, "ReturnAttributes", return_attributes, NULL);
71 plist_free(return_attributes);
72 return_attributes = NULL;
73 67
74 // query device for list of apps 68 // query device for list of apps
75 instproxy_error_t ierr = instproxy_browse(client, client_opts, &apps); 69 instproxy_error_t ierr = instproxy_browse(client, client_opts, &apps);