美文网首页iOS开发
iOS12-Swift5-Xcode10 Buildtime错误

iOS12-Swift5-Xcode10 Buildtime错误

作者: Lebus | 来源:发表于2019-05-07 22:46 被阅读154次

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名')。

屏幕快照 2019-05-05 下午6.53.46.png

错误原因:

一般常见于下载的别人的项目,里面并没有帮我们装好pods,我们没有安装项目需要依赖的pods就直接运行了。

解决方法:

1.打开cocoapods App,command+O打开这个项目的podfile,右上角install(或在终端用pod install命令)
2.然后确保项目是用.xcworkspace打开的前提下,直接运行。

 

广告时间:

小弟有做了两套iOS开发的视频教程,欢迎大家来试听:
https://m.cctalk.com/inst/s9vfhehl

相关文章

网友评论

    本文标题:iOS12-Swift5-Xcode10 Buildtime错误

    本文链接:https://www.haomeiwen.com/subject/jjzhoqtx.html