Xcode,Pods ProjectName.debug.xcconfig无法打开文件.错误的目录 [英] Xcode, Pods ProjectName.debug.xcconfig unable to open file. Wrong directory

查看:86
本文介绍了Xcode,Pods ProjectName.debug.xcconfig无法打开文件.错误的目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建项目时,看到构建错误: ProjectName.debug.xcconfig无法打开文件.我很长一段时间都无法理解我的问题,但是今天我要注意什么目录错误:完全错误: projectName/Pods/Pods ... ProjectName.debug.xcconfig无法打开文件 Pods 部分重复的地方,因此正确的目录必须为 projectName/Pods ... ProjectName.debug.xcconfig 如何解决?

When I build project, I see build error: ProjectName.debug.xcconfig unable to open file. I couldn't understand my problem for a long time, but today I take attention, what directory is wrong: full error: projectName/Pods/Pods...ProjectName.debug.xcconfig unable to open file Where Pods part duplicated, so correct directory must be as projectName/Pods...ProjectName.debug.xcconfig How to fix it?

推荐答案

Xcode 10.1在尝试了其他建议之后,请在此处#8091(注释)和中找到错误的路径Xcode中的Pods.debug.xcconfig?我发现Kaspik的建议行得通:

Xcode 10.1 After trying other suggestions found here #8091 (comment) and at Incorrect path for Pods.debug.xcconfig in Xcode? I found that Kaspik's suggestion worked:

pod deintegrate
pod install

编辑.xcodeproj/project.pbxproj文件,然后将PBXGroup的"path = Pods"更改为"name = Pods"来源 https://github.com/CocoaPods/CocoaPods/issues/8091

edit the .xcodeproj/project.pbxproj file and change the PBXGroup "path = Pods" to "name = Pods" source https://github.com/CocoaPods/CocoaPods/issues/8091

更新时间:吊舱重新集成至:吊舱取消集成

updated from: pod reintegrate to: pod deintegrate

这篇关于Xcode,Pods ProjectName.debug.xcconfig无法打开文件.错误的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆