From 8e633f44d6f744f564ebdbe6cb214d84ca9af69c Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 4 Nov 2016 14:27:29 +0100 Subject: Print useful error message when mounting an app's Documents folder fails --- src/ifuse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ifuse.c b/src/ifuse.c index 128f09f..b060871 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -813,7 +813,10 @@ int main(int argc, char *argv[]) char *str = NULL; plist_get_string_val(node, &str); fprintf(stderr, "ERROR: %s\n", str); - if (str) free(str); + if (str && !strcmp(str, "InstallationLookupFailed")) { + fprintf(stderr, "The App '%s' is either not present on the device, or the 'UIFileSharingEnabled' key is not set in its Info.plist. Starting with iOS 8.3 this key is mandatory to allow access to an app's Documents folder.\n", opts.appid); + } + free(str); goto leave_err; } plist_free(dict); -- cgit v1.1-32-gdbae