Xcode does not find Pods.release.xcconfig file.
Last lines of the Xcode’s build log:
The file “Pods.release.xcconfig” couldn’t be opened because there is no such file. (/Users/vagrant/git/ios/Pods/Target Support Files/Pods/Pods.release.xcconfig)
No profiles for ‘org.project’ were found: Xcode couldn’t find a provisioning profile matching ‘org.project’.
Code signing is required for product type ‘Application’ in SDK ‘iOS 10.3’
** ARCHIVE FAILED **
After install pods, I verified and the file exists inside the project. But seems Xcode does not recognize the file.
The path where the file is: /Users/vagrant/git/ios/Pods/Target Support Files/Pods/Pods.release.xcconfig
Anyone with the same problem?
(https://www.bitrise.io/build/d4138d25ba616a3a)
Hi @mateoguzmana,
I’d say it’s most likely not related to the xcconfig, more likely a missing code signing file, but without the logs hard to say.
Can you please copy paste the build’s bitrise.io URL, so that we can look into it?
1 Like
Hi @viktorbenei,
Thanks for your reply, I’ve updated my question with the build’s bitrise URL.
Thanks @mateoguzmana!
Can you please try to run this on your own Mac, using our CLI (How to experiment with Bitrise configs locally, on your Mac/Linux) and let us know whether it works there?
1 Like
Just in case someone has similar issue, I resolved it with updating stack from Xcode 10.1.x to 10.2.x.
2 Likes
error: /Users/vagrant/git/ios/Pods/Target Support Files/Pods-[REDACTED]/Pods-[REDACTED].release.xcconfig: unable to open file (in target “[REDACTED]” in project “[REDACTED]”) (in target ‘[REDACTED]’ from project ‘[REDACTED]’)
i have got the same error do any body found the solution yet ?
Hi @taimoortariq
Can you please confirm if the pods are in the same directory as your project?
Also, can you try to run your build on a different stack?
Thanks
Chaitanya
I was experiencing the same issue.
The fix for me was adding the “Run Cocoapods install” step in my Bitrise workflow.
Hi @alexis.schreier
Thank you for the information.
I am glad that the issue is resolved now.
Thanks
Chaitanya
Hi @taimoortariq
Can you implement Alexis’s solution and see if that resolves your issue?
Thanks
Chaitanya