使用cocoaPod导入第三方库报错

[!] The `makeMoney [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-makeMoney/Pods-makeMoney.debug.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.


[!] The `makeMoney [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-makeMoney/Pods-makeMoney.release.xcconfig'. This can lead to problems with the CocoaPods installation

    - Use the `$(inherited)` flag, or

    - Remove the build settings from the target.


1.在build Phases中,删除libPods-工程名.a 静态库;

2.导入在cocoaPods下载的第三方框架静态库(直接点击+即可);

3.在build setting中,添加-l"第三方框架名",如-l"AFNetworking"即可;



版权声明:本文为kobe1003914原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。