Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6952555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:21:51+00:00 2026-05-27T14:21:51+00:00

We have a distribution profile for appStore releases & one for inHouse distribution. Both

  • 0

We have a distribution profile for appStore releases & one for inHouse distribution. Both have identical Company names. The problem we encounter now is that when we try and build for distribution, we get the error:

[BEROR]CodeSign error: Certificate identity 'iPhone Distribution: OurCompanyName' appears more than once in the keychain. The codesign tool requires there only be one.

How do we fix this?

Edit: The mac we’re using to sign is used for continuous integration (via Bamboo), so it’s meant to build unattended.
This makes switching user accounts an impossibility…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:21:52+00:00Added an answer on May 27, 2026 at 2:21 pm

    Solution:
    I’ve put all the appstore related stuff in the login keychain, and the enterprise stuff in a seperate keychain file.

    In the buildscript, I switch between those as follows:

        # 1. Only activate the System and either the Appstore(=login) or Enterprise keychain.
    security list-keychains -s $KEYCHAIN_NAME $SYSTEM_KEYCHAIN
    
    # 2. Loop through App Schema's
    for APP_SCHEME in ${APP_SCHEMES[@]}; do
        echo "--=  Processing $APP_SCHEME  =--"
        xcodebuild -scheme "${APP_SCHEME}" archive
    done ### Looping through App Schema's
    
    # 3. Restore login & system keychains
    security list-keychains -s $APPSTORE_KEYCHAIN $ENTERPRISE_KEYCHAIN $SYSTEM_KEYCHAIN
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem There is one iphone software product of our company and
Hi I have been given an adhoc distribution provision profile. as com.compnayname.* now when
I have an app in store signed with a distribution certificate/profile. Now I want
My Current Distribution Certificate expired today. That means both my AdHoc and AppStore provisioning
We're one step away from our first AppStore deployment. Unfortunately we have to deploy
Have created an app-id as normal. Then created an app-store distribution profile...as normal. Set
Ok now I have a problem with the push notifications. I have set them
I have a problem with distribution certificate of push notification. First I used developer
i have successfully created distribution profiles and installed on my xcode organiser, but this
Currently I have a distribution provision setup on my laptop to distribute enterprise app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.