- Use the `$(inherited)` flag, or - Remove the build settings from the targe

1,324 阅读1分钟

在使用pod对第三方进行管理时,执行pod install命令之后,终端打印出警告信息如下:

这个时候编译项目时会类似报错:

解决方案: 在Build Setting中的Search Path下的Framework Search Paths与Header Search Paths中添加$(inherited)。 如果此时编译还报错(本人就是这种情况),那么在Build Setting中的Linking下的Other Linker Flags下也要添加$(inherited),如下:

至此,问题解决。