-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ideviceinstaller.c:1399:46: error: incompatible pointer types passing status_cb #18
Comments
Ran into this when building with libimobiledevice-1.2.0. Back-rev to libimobiledevice-1.1.7 will work. |
Same problems encounted with libimobiledevice-1.2.0. |
Just compile the "work" branch. I'll merge and fix it soon. |
How to get the app user data? ideviceinstaller -a "com.testin.app" -o docs_only ?, it's not work for me, version 1.2.0, why? |
Please reopen this bug - still not working with libimobiledevice 1.2 and I see no "work" branch on Github to grab. |
@0x4d4746h Your question is not related to this ticket, create separate tickets, ask on the mailing list or on IRC instead. |
some argc didn't work on new version of libimobiledevice ,How to do it?
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
CC ideviceinstaller-ideviceinstaller.o
ideviceinstaller.c:1058:49: error: incompatible pointer types passing 'void
(const char , plist_t, void *)' to parameter of type 'instproxy_status_cb_t' (aka 'void
()(plist_t, plist_t, void )') [-Werror,-Wincompatible-pointer-types]
instproxy_install(ipc, pkgname, client_opts, status_cb, NULL);
^~~~~~~~~
/usr/local/include/libimobiledevice/installation_proxy.h:234:132: note: passing argument to parameter
'status_cb' here
...client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb, void *use...
^
ideviceinstaller.c:1065:49: error: incompatible pointer types passing 'void
(const char *, plist_t, void *)' to parameter of type 'instproxy_status_cb_t' (aka 'void
()(plist_t, plist_t, void )') [-Werror,-Wincompatible-pointer-types]
instproxy_upgrade(ipc, pkgname, client_opts, status_cb, NULL);
^~~~~~~~~
/usr/local/include/libimobiledevice/installation_proxy.h:262:132: note: passing argument to parameter
'status_cb' here
...client, const char *pkg_path, plist_t client_options, instproxy_status_cb_t status_cb, void *use...
^
ideviceinstaller.c:1077:41: error: incompatible pointer types passing 'void
(const char *, plist_t, void *)' to parameter of type 'instproxy_status_cb_t' (aka 'void
()(plist_t, plist_t, void )') [-Werror,-Wincompatible-pointer-types]
instproxy_uninstall(ipc, appid, NULL, status_cb, NULL);
^~~~~~~~~
/usr/local/include/libimobiledevice/installation_proxy.h:283:131: note: passing argument to parameter
'status_cb' here
...client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_d...
^
ideviceinstaller.c:1253:46: error: incompatible pointer types passing 'void
(const char *, plist_t, void *)' to parameter of type 'instproxy_status_cb_t' (aka 'void
()(plist_t, plist_t, void )') [-Werror,-Wincompatible-pointer-types]
instproxy_archive(ipc, appid, client_opts, status_cb, NULL);
^~~~~~~~~
/usr/local/include/libimobiledevice/installation_proxy.h:325:129: note: passing argument to parameter
'status_cb' here
...client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_d...
^
ideviceinstaller.c:1391:39: error: incompatible pointer types passing 'void
(const char *, plist_t, void *)' to parameter of type 'instproxy_status_cb_t' (aka 'void
()(plist_t, plist_t, void )') [-Werror,-Wincompatible-pointer-types]
instproxy_restore(ipc, appid, NULL, status_cb, NULL);
^~~~~~~~~
/usr/local/include/libimobiledevice/installation_proxy.h:349:129: note: passing argument to parameter
'status_cb' here
...client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_d...
^
ideviceinstaller.c:1399:46: error: incompatible pointer types passing 'void
(const char *, plist_t, void *)' to parameter of type 'instproxy_status_cb_t' (aka 'void
()(plist_t, plist_t, void )') [-Werror,-Wincompatible-pointer-types]
instproxy_remove_archive(ipc, appid, NULL, status_cb, NULL);
^~~~~~~~~
/usr/local/include/libimobiledevice/installation_proxy.h:372:136: note: passing argument to parameter
'status_cb' here
...client, const char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_d...
^
6 errors generated.
make[2]: ** [ideviceinstaller-ideviceinstaller.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: