1.新建Swift工程;
2.在Swift中新建OC类,会自动生成PROJECT_NAME-Bridging-Header 类;
3.导入的第三方头文件, #import "AFNetworking.h" ,会提示'AFNetworking.h' file not found
4.在Build Seting搜索:User Header Search Paths
5.在 User Header Search Paths 添加:${SRCROOT} , 并选择Recursive
1.新建Swift工程;
2.在Swift中新建OC类,会自动生成PROJECT_NAME-Bridging-Header 类;
3.导入的第三方头文件, #import "AFNetworking.h" ,会提示'AFNetworking.h' file not found
4.在Build Seting搜索:User Header Search Paths
5.在 User Header Search Paths 添加:${SRCROOT} , 并选择Recursive