参考:https://github.com/kevinzhow/PNChart/
我下载了最新的PNChart。除了错误“UICountingLabel / UICountingLabel.h not found”之外,它通过设置build-debug-cert来修复。
我也遇到了这个我无法修复的错误。我试图设置'Build Settings - >搜索路径'为YES,但同样的问题。任何人都知道如何解决这个问题?
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/PNChartDemo-giizuxibyqufwkdlwownbowndyew/Build/Products/Debug-iphonesimulator/Expecta'
ld: warning: directory not found for option '-L/Users/xxx/Library/Developer/Xcode/DerivedData/PNChartDemo-giizuxibyqufwkdlwownbowndyew/Build/Products/Debug-iphonesimulator/UICountingLabel'
ld: library not found for -lExpecta
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我也不明白这一行是什么意思:
“将PNChart的pod条目添加到Podfile pod'PNChart'”
我尝试发送命令“pod'PNChart'”并出现错误。忽略这个错误? “pod install”命令有效。
由于