• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Detecting default keychain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting default keychain


  • Subject: Detecting default keychain
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 05 Apr 2012 15:36:21 -0500

My app comes in two flavors, one for the App Store (unlockable through in-app purchase) and one for Enterprise distribution (unlocked from the start). They use separate configurations selected by separate build schemes.

The two distribution accounts mean two signatures, which I keep straight by putting them into separate keychains. If I'm building for Enterprise, I use Keychain Access to make the Enterprise keychain the default; if for the App Store, I make the App Store keychain the default.

I don't expect my build process to switch default keychains (that would be ideal, but I expect the change in identities would come too late to influence the signature selection), but it would be nice if I could write a script that verified that the keychain needed by the build was the default.

I don't see a command-line tool that will tell me the name of the default keychain. Can I accomplish what I want?

	— F


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Detecting default keychain
      • From: "Clark S. Cox III" <email@hidden>
    • Re: Detecting default keychain
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Link failure (clang failed with exit code 1) with no explanation
  • Next by Date: Re: Link failure (clang failed with exit code 1) with no explanation
  • Previous by thread: Re: Link failure (clang failed with exit code 1) with no explanation
  • Next by thread: Re: Detecting default keychain
  • Index(es):
    • Date
    • Thread