Xcode Bots:: Creating archive failed: xcodebuild e

2019-04-29 20:13发布

问题:

My integration succeeded but archive fails every-time with following warning mentioned below -:

**Warning: Build Service Error:** Creating archive failed: xcodebuild exited with status 65.  
**Warning: Build Service Error:** Skipping exporting from archive because creating the archive failed.

回答1:

I had the same problem. In my case the code signing was set to automatic. When I change it to an distribution certificate it worked.



回答2:

I was having this issue after updating to the Server beta. I was able to fix it by adding my team to the Xcode server settings.



回答3:

Its a problem of certificate. Try to check if you have the certificate on your machine corresponding to the build you want to make.