Here’s a quick tip to for those who use Appcelerator Titanium on Mac OS and discover that a login is required every time you start up Titanium Studio.
I’m not sure why, but somewhere along the road of using Titanium Studio, you suddenly have to provide a username and password on every startup. Now many of you would say…..”oh well, not the end of the world”…..but there’s a small catch. When you provide a username and password and click on the “Login” button, authentication happens online. (i.e. you need to be connected to the internet to authenticate)
If you find that for whatever reason you cannot connect to the internet and you want to start up Titanium Studio…..you’re flat out of luck.
THE PROBLEM IDENTIFIED
After many trial and error tests on my Mac and a couple of searches on Google, I found a special setting in the Mac’s Keychain Access app called equinox.secure.storage. In this setting, “Titanium Studio” was listed twice as an application that’s allowed to access this setting. At first, I tried removing one of the entries so that there’s only 1 “Titanium Studio” listed. That didn’t do the job. I then tried to remove both entries to see if it would reset and re-establish the auto login when I start up Titanium. That didn’t work as well.
Finally, I chose the option “Allow all applications to access this item”. This worked!!
Now, I’m not sure what this means in the bigger scheme of my Mac’s security, but I’m willing to live with it until a proper solution to Titanium Studio’s login issues are sorted out.
WHAT TO DO
- Open the Keychain Access App. I find it’s best just to use the Spotlight Search situated on the top right side of the Mac’s Toolbar.
- Click on “All Items” under the “Category” menu on the left side of the App.
- Using the search field, perform a search for equinox.secure.storage. Double click on the item when it’s returned in the results.
- Navigate to the “Access Control” tab and select “Allow all applications to access this item“.
- You will be prompted for your Mac’s Password when you click on the “Save Changes” button.
- Restart or launch Titanium Studio. It should automatically log in.
Cheers for now
UPDATE NOTE 1: (15th July 2013)
Based on some feedback it seems that the above-mentioned is not guaranteed to solve the issue. I would appreciate suggestions from the online community on what else to try when it comes to this login problem.
UPDATE NOTE 2: (15th July 2013)
Just so that everyone’s aware. An option it to re-install Titanium Studio. This solved the Auto Login issue, but only for a short while. Pretty much a month later Titanium started asking for a username and password. It was then that I attempted the above-mentioned which solved the issue for me.