Xcode-Buildtime错误:
/Users/项目路径/Pods/Target Support Files/Pods-当前target名/Pods-当前target名.debug.xcconfig: unable to open file (in target "当前target名" in project "项目名") (in target '当前target名')。
错误原因:
一般常见于下载的别人的项目,里面并没有帮我们装好pods,我们没有安装项目需要依赖的pods就直接运行了。
解决方法:
1.打开cocoapods App,command+O打开这个项目的podfile
,右上角install(或在终端用pod install
命令)
2.然后确保项目是用.xcworkspace打开的前提下,直接运行。