When I first installed Intellij IDEA on my Mac, I immediately faced a problem that by default Intellij for Mac requires to be run on JDK 1.6.
Thus, in order to make it work on JDK 1.7 which I installed prior to downloading Intellij, I had to edit /Applications/IntelliJ\ IDEA\ 13.app/Contents/Info.plist and change JVMVersion from 1.6* to 1.7*.
This solution worked for me fine up until I realized that something was wrong with SVN support which required to re-enter the password every time IDEA was restarted. I’ve checked quite a few sources to find a solution to this problem and it turned out that editing plist file breaks code signature and MacOS starts acting suspicious of the app, hence not allowing it to access Keychain.
The solution for the latter problem is the following command which solves the problem entirely:
sudo codesign -f -s – /Applications/IntelliJ\ IDEA\ 13.app
So, the final solution looks like this:
1) download and install IDEA
2) update Info.plist so that it works with JDK 1.7
3) sign IntelliJ IDEA xx.app back by coding
P.S. Tested on MBP with MacOS Yosemite
P.S.S. Most of this info can be found here: http://blog.jetbrains.com/idea/2013/09/jdk7_compatibility/