The following team worked great on Simulator. But this command does not work on devices.
#define kUnZipCommand @"unzip \"%@\" -d\"%@\""
NSString *anUnZipCommand = [NSString stringWithFormat:kUnZipCommand, aFileName, aDirectoryPath];
system([anUnZipCommand UTF8String]);
Any idea?
source
share