问题
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.
来源:https://stackoverflow.com/questions/29794034/xcode-bots-creating-archive-failed-xcodebuild-exited-with-status-65