Thanks for your reply. I used the following code to uninstall the app files in a command line tool named XXXCoreService:
NSString *targetPath = @"/Applications/Container.app";
NSString *cmdStr = [NSString stringWithFormat:@"rm -rf '%@'", targetPath];
const char *cmd = [cmdStr UTF8String];
rc = system(cmd);
Topic:
App & System Services
SubTopic:
Networking
Tags: