Archive fails after changing target in Xcode project

ios

#1

For certificates reasons, I had to change the exist target’s name, and add a new target in the project. After that, in archive step it shows me this error:

error: /Users/vagrant/git/Pods/Target Support Files/Pods-XXX-Development/Pods-XXX-Development.release.xcconfig: unable to open file (in target “XXX-Development” in project “XXX”) (in target ‘XXX-Development’)

I’ve updated the cocoapods’ settings by pod setup, and also I’ve tried to re-download the whole project and do exactly the same as the workflow settings locally on my computer, and it worked fine, the file showed in the error message above also exists after I run the bootstrap script.

By the way, the test workflow also works fine, only the archive workflow doesn’t.

Any idea why it happens?


Update:

I tried to insert a pod setup in the workflow and then it worked fine, although I’ve already committed and pushed all the changes to the remote repository :thinking: weird


#2

Hello!

Sorry for the late response.

Could you please send us the url of this build, or a log file so I can check the full logs for some more details?