iOS开发中遇到的坑之--could not execute support code to read Objective-C class data in the process. This w...

最近在调试的过程中,出现了一条错误信息:
warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available.

这个问题的关键就是 死循环,懒加载的时候: 一定不要用self., 若用 self. 会造成死循环

- (UITableView *)tableView {
    if (!_tableView) {
        _tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
        _tableView.delegate = self;
        _tableView.dataSource = self;
        _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
        _tableView.backgroundColor = [UIColor colorWithHexString:@"f7f7f7"];
    }
    return _tableView;
}

你可能感兴趣的:(iOS开发中遇到的坑之--could not execute support code to read Objective-C class data in the process. This w...)