Re: Detecting default keychain
Re: Detecting default keychain
- Subject: Re: Detecting default keychain
- From: Jean-Denis MUYS <email@hidden>
- Date: Fri, 06 Apr 2012 07:33:46 +0000
- Thread-topic: Detecting default keychain
On 5 avr. 2012, at 22:57, Ken Thomases wrote:
> On Apr 5, 2012, at 3:36 PM, Fritz Anderson wrote:
>
>> I don't see a command-line tool that will tell me the name of the default keychain. Can I accomplish what I want?
>
> security default-keychain
>
> Regards,
> Ken
> 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.
security default-keychain also allows you to change the default keychain. You might possibly be able to script that before xcodebuild.
JD
_______________________________________________
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