Xcode 控制台不显示 NSLog 输出,仅显示 (lldb)

Xcode console does not show NSLog output, only (lldb)

我正在尝试 运行 Xcode 中的以下内容:

#import <Foundation/Foundation.h>

int main(int argc, const char * argv[]) {
    @autoreleasepool {

//        NSLog(@"Hello, my name is Travis");
//        NSString *firstName = @"Variable";
//        NSLog(@"Hello, my name is %@", firstName);
//        NSString *lastName = @"Last Name";
//        NSLog((@"First name: %@, Last name: %@", firstName, lastName));
//        NSNumber *age = @26;
//        NSLog(@"%@ age is %@", firstName, age);
//        NSArray *items = @[@"item1", @"item2", @"item3"];
//        NSLog(@"%@",items[1]);
//        NSLog(@"%@", [items description]);
//        NSString *result = [items description];
//        NSLog(result);
        NSString *city = @"San Francisco";
        NSUInteger cityLength = [city length];
        NSLog(@"%lu", cityLength);
//        NSMutableArray *mystr = [NSMutableArray arrayWithObjects:@"hello",@"world", nil];
//        NSLog(@"%@", mystr[0]);
//        NSString *me = @"FROM ME!";
//        [mystr addObject: me];
//        NSLog(@"%@", mystr[2]);
//        NSDictionary *appRatings = @{@"item1": @4, @"item2": @3};
//        NSLog(@"%@", [appRatings allKeys]);
//        NSLog(@"%@", [appRatings objectForKey:@"item1"]);
//        NSLog(@"%@", [appRatings allValues]);
//        NSLog(@"%@", [appRatings valueForKey:@4]);

    }

}  

我只是想 运行 未注释的代码。看起来很简单,应该只计算我的字符串变量中的字符数。当我 运行 这样做时,构建成功但控制台中没有任何内容。唯一出现的是:(lldb)

lldb 表示代码在断点处暂停,正在等待 lldb 命令。禁用断点或找到并删除它们,然后重试。