Fabric beta build won't upload due to signing issue

I am trying to distribute my iOS app via Crashlytics beta, so I added fabric-crashlytics-beta-deploy step. After I made a refresh to my certficates and provisioning profiles recenttly this step is always failing.
The log for the step is following:

(10) fabric-crashlytics-beta-deploy@2.2.5                                    |
| id: fabric-crashlytics-beta-deploy                                           |
| version: 2.2.5                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: bash                                                                |
| time: 2019-02-14T01:00:36-08:00                                              |
|                                                                              |
  * api_key: ***
  * build_secret: ***
  * ipa_path: /Users/vagrant/deploy/MyApp.ipa
  * dsym_path: /Users/vagrant/deploy/MyApp.dSYM.zip
  * email_list: 
  * group_aliases_list: ios-testers
  * notification: Yes
  * release_notes: Feature test build
Submitting IPA...
  /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise955199456/step_src/Fabric/submit "[REDACTED]" "[REDACTED]" -ipaPath "/Users/vagrant/deploy/MyApp.ipa" -notesPath "/Users/vagrant/app_release_notes.txt" -notifications "YES"  -groupAliases "ios-testers"
2019-02-14 01:00:38.019 submit Crashlytics: Crashlytics.framework/submit 1.3.6 (19)
2019-02-14 01:00:57.793 submit Crashlytics: Unable to package source due to error: Error Domain=CLSIPABuilderErrorDomain Code=-6 "(null)" UserInfo={UnderlyingError=Error Domain=CLSCodeSignerErrorDomain Code=-2 "(null)" UserInfo={arguments=(
), environment={
    "CODESIGN_ALLOCATE" = "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate";
}, status=1, stderr=059231E67B43C4EB07DED1F41AB5F852B9EDCCE2: no identity found
, command=/usr/bin/codesign, stdout=}, SourcePath=/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/com.crashlytics.ipas/CA92229D-42FE-40CA-A0C1-2AE1F20BA276}
2019-02-14 01:00:58.036 submit Crashlytics: Failed to prepare the binary for release

I uploaded all certificates and profiles to the bitrise using codesigndoc terminal tool.

Hi @andrey.buksha!

Sorry to hear about the issue, could you please post a build URL here too?

Sure. Here it is:


Thanks we will look into it and get back to you when we figure something out!

Is there any info on the issue by any chance?

Hi there!

We’re really sorry about the wait time.

We have dozens of similar issues to go through weekly and limited resources to do so.

We’re sorry about the inconvenience this causes, we are getting to everyone, it’s only a matter of time. In the while of course feel free to let me know any questions you may have!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hi @andrey.buksha,

based on the Fabric docs: https://docs.fabric.io/apple/beta/provisioning-profiles.html#all-about-provisioning-profiles
the tool tries to resign your application before deploying it.

To do so, it needs to read the available certificates from the keychain, but by default the keychain is locked, which you can fix with this script:

security -v unlock-keychain -p vagrant "$HOME/Library/Keychains/login.keychain"

Pls put this script into a script step, before you would run fabric-crashlytics-beta-deploy and let me know how does it work for you.

This topic was automatically closed after 14 days. New replies are no longer allowed.