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

- Use the `$(inherited)` flag, or - Remove the build settings from the targe
这个时候编译项目时会类似报错:

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

- Use the `$(inherited)` flag, or - Remove the build settings from the targe
至此,问题解决。

相关文章: