iOS 日常记录
在这里我会记录下,在工作中遇到的一些问题,和一些有用的工具等等,反正就是有用的我都会先记录在这里
1. 几天在 使用 cocopods 添加 Masonry 的时候, 下载完成之后 cocopods 报错,报错如下:
[!] The `XXX` 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.
[!] The `XXX` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-XXX/Pods-XXX.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
解决方法:
Stack Overflow解决方法