Xcode Bots:: Creating archive failed: xcodebuild exited with status 65
Asked Answered
V

3

6

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.
Vinegarette answered 22/4, 2015 at 9:59 Comment(0)
Z
4

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.

Zulemazullo answered 23/4, 2015 at 8:2 Comment(2)
Thanks a lot Pawel..I did try this before it didn't work but now it works....May be previously I was trying before copying my provisioning profiles to /Library/Developer/Xcode Server/ProvisioningProfiles..So sorry as I don't have too much reputation (i.e. 15 is required) I can't vote up for you..but whenever I will have I ll do it for you..Cheers!!!Vinegarette
What I have noticed in the build log(/Library/Developer/XcodeServer/IntegrationAssets/0bf59b5e7af4ba98e99d13d1a80f2b28 Bot/1/build.log), Command /usr/bin/codesign trying to sign my app with OS X Developer certificate which is created by Xcode server (I guess) and archive is getting failed because I don't have private key for that..!Vinegarette
P
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.

Pea answered 13/9, 2016 at 21:33 Comment(0)
R
0

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

Risser answered 18/12, 2017 at 22:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.