新项目导入内容错误: libxml/tree.h file not found
1. 导入libxml2.dylib 包
2.build settings —>header search Paths 添加:
$(SDKROOT)/usr/include/libxml2
其它问题
declaration of 'objc_property_t' must be import from module 'ObjectiveC.runtime' before it is required:
应该特别注意的是在使用 objc_property_t 时先导入头文件 #import<objc/runtime.h>,否则报错:Declaration of 'objc_property_t' must be imported from module 'objectiveC.runtime'before it is required.
No visible @interface for 'SCBaseManagedDomain' declares the selector 'enumPropertiesUsiingBlock:'
文件没有包含某个类
expected a type:
需要自己手动导入库#import <UIKit/UIKit.h>