Detecting default keychain
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