使用cocoapods导入第三方出现这样的问题



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

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

编译报错:


 ld: library not found for -lPods-AFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)

在 HEADER_SEARCH_PATHS 加入了 $(inherited) 还是报错。

如何解决这个问题,跪谢!

ios cocoapods

itair 10 years, 6 months ago

在 HEADER_SEARCH_PATHS 加入了 $(inherited) 还是报错

给我眼药水 answered 10 years, 6 months ago

你打开的是不是不是.cxworkspace?

manbou answered 10 years, 6 months ago

Your Answer