summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-11-04 14:27:29 +0100
committerGravatar Nikias Bassen2016-11-04 14:27:29 +0100
commit8e633f44d6f744f564ebdbe6cb214d84ca9af69c (patch)
tree59d9677629a46be104c56b13d0a2b7c0bc611d9c
parent988161f3cf77620abc02b9d7e677a82d7ea3d197 (diff)
downloadifuse-8e633f44d6f744f564ebdbe6cb214d84ca9af69c.tar.gz
ifuse-8e633f44d6f744f564ebdbe6cb214d84ca9af69c.tar.bz2
Print useful error message when mounting an app's Documents folder fails
-rw-r--r--src/ifuse.c5
1 files changed, 4 insertions, 1 deletions
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);