美文网首页
Cocoapods问题汇总

Cocoapods问题汇总

作者: 木子_礼 | 来源:发表于2016-12-22 14:25 被阅读77次

ld: library not found for -lXXX

http://stackoverflow.com/questions/19419781/cocoapods-arm64-issue

解决方案:
将 PodS --> Build Settrings --> Build Active Architecture Only 设置为 NO

Build Active Architecture Only.png

The XXX [Debug] target

[!] The XXX [Debug] target overrides the OTHER_LDFLAGS build setting defined in Pods/Target Support Files/Pods-XXX/Pods-XXX.debug.xcconfig'. This can lead to problems with the CocoaPods installation \- Use the \$(inherited)` flag, or
- Remove the build settings from the target.

根据提示信息我们可以使用 `$(inherited)`标识,来消除这个警告:
在 Project --> Targets --> Build Settrings --> Other Linker Flags 中,添加 $(inherited)

相关文章

网友评论

      本文标题:Cocoapods问题汇总

      本文链接:https://www.haomeiwen.com/subject/guthvttx.html