Deploy Crashlytics Beta with Xcode Bot

I am trying to use the command line deployment method to download iOS beta into Crashlytics (Crashlytics.framework / submit) during the post archiving phase using Xcode Bot on the Xcode server.

The problem is that Crashlytics seems to be unable to properly sign the ipa file.

In accordance with their support, I need to unlock the keychain. I tried the following, but the error persists:

  • security unlock-keychain -p the-password /Library/Keychains/System.keychain
  • Unlocking the remote control via the graphical interface of the server (access to keys)
  • Running security lists is just keychains /Library/Keychains/System.keychain, and the certificate and private key are imported and are present in this keychain.

Error:

2015-02-04 10:43:06.247 submit Crashlytics: Crashlytics.framework/submit 1.3.1 (11)
2015-02-04 10:43:06.981 submit Crashlytics: Unable to find a certificate with a private key: Error Domain=CLSProvisioningProfileErrorDomain Code=-1 "The operation couldn t be completed. (CLSProvisioningProfileErrorDomain error -1.)" UserInfo=0x10020e250 {Details=iPhone Distribution: ****** (*****), SourcePath=/var/folders/rk/758w2bp12sq1lh5q5mrj598h000087/T/upload/Payload/our.bundle.id/embedded.mobileprovision}
2015-02-04 10:43:07.002 submit Crashlytics: Failed to prepare the binary for release
Error uploading to Crashlytics

Perhaps the problem is with the Xcode host running as another user with the name _xsomething?

+4
source share
1 answer

. login.keychain. ( ) login.keychain, System.keychain. , - , . post script ( Crashlytics/submit), keychain. : https://twittercommunity.com/t/problem-submitting-to-crashlytics-beta-from-xcode-server/31703

!

+3

All Articles