Xcode, Pods ProjectName.debug.xcconfig unable to o

2020-02-27 06:42发布

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 pod
3条回答
成全新的幸福
2楼-- · 2020-02-27 07:25

Deleting extra files in target->Linked Frameworks and Libraries solved my problem

查看更多
叼着烟拽天下
3楼-- · 2020-02-27 07:34

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

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

查看更多
趁早两清
4楼-- · 2020-02-27 07:48

Remove the duplicates from the Pods folder ƒrom xcode project here:

enter image description here

查看更多
登录 后发表回答