Как получить журнал из системы () ;?

Есть ли способ получить журнал из системы (); так нравится, когда я делаюsystem("open com.apple.nike"); Я должен получитьCouldn't open application: com.apple.nike. Reason: 8, application disabled or restricted, Это будет работать на моем устройстве iOs 7

Спасибо

РЕДАКТИРОВАТЬ:// Это новый код, но он не будет работать, я получу

    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
    *** First throw call stack:

NSString *bundleID = @"com.apple.nike";
    NSTask *task = [[NSTask alloc] init];
                    [task setLaunchPath: @"sudo"];
                    [task setArguments: [[NSArray alloc] initWithObjects:[NSString stringWithFormat:@"open %@", bundleID], nil]];

                    NSPipe *pipe= [NSPipe pipe];
                    [task setStandardOutput: pipe];

                    NSFileHandle *file = [pipe fileHandleForReading];

                    [task launch];

                    NSData *data = [file readDataToEndOfFile];

                    NSString *output = [[NSString alloc] initWithData: data encoding: NSUTF8StringEncoding];
                    NSLog(@"result: %@", output);

Ответы на вопрос(1)

Ваш ответ на вопрос