• 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
Re: Keychain warnings annoyance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keychain warnings annoyance


  • Subject: Re: Keychain warnings annoyance
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 8 Oct 2009 09:20:48 +0200


Le 8 oct. 2009 à 03:34, Philippe Casgrain a écrit :


Le 2009-10-07 à 11:08, Simon Wilson a écrit :

Is there a way to say to the Keychain "don't bother me with this app I allow everything"? to put it in a white list or something?

Open Keychain Access.
Double clic on the item your application is asking for each time.
Select the Access Control tab.
Select the "Allow all applications to access this item" radio.

You could do that, and it would work, but IMHO the elegant solution is the following:

[Y]ou could sign your application's debug builds. 

Daniel Jalkut has a good write-up on how & why you should do this, and he was having this exact problem (newer version of the app is just built, needs to access the Keychain, developer must manually authorize it):

http://www.red-sweater.com/blog/514/development-phase-code-signing


This post used to be useful but it is deprecated. Code signing is built-in Xcode since Xcode 3.1 (IIRC). And it works for all kind of targets (which is not the case of the provided script).
To sign code you just have to set the Code Signing Identity build setting.

In essence, by signing your app, you're telling the Keychain that it really is the same app and it should be granted the same privileges as before.

Philippe


-- Jean-Daniel




 _______________________________________________
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

References: 
 >Keychain warnings annoyance (From: Aurélien Hugelé <email@hidden>)
 >Re: Keychain warnings annoyance (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Keychain warnings annoyance (From: Simon Wilson <email@hidden>)
 >Re: Keychain warnings annoyance (From: Philippe Casgrain <email@hidden>)

  • Prev by Date: Re: Search Box ->What is this shortcut combination
  • Next by Date: Re: xcode project.pbxproj file and file references
  • Previous by thread: Re: Keychain warnings annoyance
  • Next by thread: Memory corruption when going from 10.5 to 10.6
  • Index(es):
    • Date
    • Thread