Xcode, Pods ProjectName.debug.xcconfig unable to open file. Wrong directory

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?
  • In my case just with a $pod update that's works

Add a Comment

Accepted Reply

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 reintegrate 
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

Replies

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

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 reintegrate 
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

I am facing same issue in Azure pipeline building.

Properly building at xcode on my local machine. But while running build task in azure pipeline getting

Pods/Target Support Files/Pods-XYZ/Pods-XYZ.debug.xcconfig: unable to open file (in target "XYZ" in project "XYZ") (in target 'XYZ')

Im facing the same issue in the Azure pipeline , did you solve it?

I dont have any extra files still have the same problem as @pallavimh