Playing around with osx / ios programming and found this great tutorial for xcode: How to Make a Simple Mac App on OSX 10.7
Author Archives: james
Import a new p12 into keychain via terminal
sudo security import /Users/cmuser/workspaces/cm_trunk/osx/p12s/dk_new_media.p12 -T /usr/bin/codesign -P "" -k ~/Library/Keychains/login.keychain