Class "xxxxx"defined without specifying a base class

 

解决方法:

导入#import xxxx.h即可

程序需要了解整个类。所以需要添加

#import xxxx.h

原文地址:https://www.cnblogs.com/OIMM/p/9391955.html