...App/Pods/Target Support FIles/Pods-App/Pods-App.debug.xcconfig: unable to open file in (target "App in project "App)

I am trying to run my ionic-vue app on an ios device. I went through the whole process of adding the platform. when I went to xCode to build the app it fails throwing me this error.

…App/Pods/Target Support FIles/Pods-App/Pods-App.debug.xcconfig: unable to open file in (target "App in project "App)

I have searched for a solution to this but I cannot seem to find any.

Any help is appreciated!

2 Likes

I was running into this error as well and I think it might have gone along with a permission error that I had just solved here. https://stackoverflow.com/questions/9574543/myproject-is-locked-for-editing-and-you-may-not-be-able-to-save-your-changes

FIxing that error let me open in xCode and then I got this unable to open error so I used the Finder to go into the folder ‘ios/App/Pod/Target Support Files/Pods-App’ and did the permissions as above on the Pods-App.debug.xcconfig, setting the permissions to read & write for that file. After that I was able to build successfully

1 Like

This is correct! You just helped me get through ~3 hours of troubleshooting this silly pods issue.

For those following along on the stackoverflow link he posted, there is a relevant comment that states:

The “Apply to enclosed items” option is only available for directories. I was able to fix it by changing permissions on the parent directory instead of the .xcodeproj. Or use the chown command with the -r recursive flag set.

As it stated, if you don’t see the ‘Apply to encolsed items’ on the project file, be sure to check the folder of the project.