Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The process '/usr/bin/security' failed with exit code 1 #68

Open
scriptBoris opened this issue Jun 1, 2024 · 3 comments
Open

Comments

@scriptBoris
Copy link

scriptBoris commented Jun 1, 2024

image

I used v2 and v3 - any way no result.
And i completed by instructions in readme.
On my github secrets has:
APPLE_CERTIFICATE as base64 file .p12 (private key & certificate)
APPLE_CERTIFICATE_PASSPHRASE as simple text typing by me (just when i created .p12 file, i assigned simple "123" password)

My YML:

jobs:
  build:
    runs-on: macos-latest

    env:
      APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
      APPLE_CERTIFICATE_PASSPHRASE: ${{ secrets.APPLE_CERTIFICATE_PASSPHRASE }}
      APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
      APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
      APP_STORE_CONNECT_PRIVATE_KEY: ${{ secrets.APP_STORE_CONNECT_PRIVATE_KEY }}
      
    steps:
    - name: Checkout repository
      uses: actions/checkout@v3

    # mac
    - name: Set XCode version
      uses: maxim-lobanov/setup-xcode@v1
      with:
        xcode-version: '15.2'
        
    - name: Install Apple Certificate and Provisioning Profile
      uses: apple-actions/import-codesign-certs@v2
      with: 
        p12-file-base64: $APPLE_CERTIFICATE
        p12-password: $APPLE_CERTIFICATE_PASSPHRASE

    - name: Download Provisioning Profiles
      id: provisioning
      uses: apple-actions/download-provisioning-profiles@v1
      with: 
        bundle-id: com.haykgalstyan.speceqmobile
        profile-type: 'IOS_APP_STORE'
        issuer-id: $APP_STORE_CONNECT_ISSUER_ID
        api-key-id: $APP_STORE_CONNECT_KEY_ID
        api-private-key: $APP_STORE_CONNECT_PRIVATE_KEY
@CyberAustin
Copy link

I'm having this same issue, using basically the same setup as @scriptBoris

@Laguna1989
Copy link

Laguna1989 commented Sep 11, 2024

Another one for me. Would be in dire need of a fix, although I run version v3 of this action.

@vanyasem
Copy link

Does this stackoverflow answer solve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants