diff options
author | Nikias Bassen | 2016-11-04 14:27:29 +0100 |
---|---|---|
committer | Nikias Bassen | 2016-11-04 14:27:29 +0100 |
commit | 8e633f44d6f744f564ebdbe6cb214d84ca9af69c (patch) | |
tree | 59d9677629a46be104c56b13d0a2b7c0bc611d9c /src | |
parent | 988161f3cf77620abc02b9d7e677a82d7ea3d197 (diff) | |
download | ifuse-8e633f44d6f744f564ebdbe6cb214d84ca9af69c.tar.gz ifuse-8e633f44d6f744f564ebdbe6cb214d84ca9af69c.tar.bz2 |
Print useful error message when mounting an app's Documents folder fails
Diffstat (limited to 'src')
-rw-r--r-- | src/ifuse.c | 5 |
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); |