Installing Titanium Developer Via Terminal with SUDO (OSX)
Hi there.
If you're having problems installing Titanium Developer or had problems upgrading the Mobile SDK via Titanium Developer, I solved the issue by using launching Titanium Developer using the SUDO command via Terminal.
sudo /Applications/Titanium\ Developer.app/Contents/HD/Titanium\ Developer --debug
It's "–debug" not "–debu" (the discussion forum clipped the word.)
Notes:
The "sudo" command allows users to run programs with the security privileges of another user (normally the root account)
Change the "HD" to be the name of your hard drive.
The "–debug" will output exactly what's going on with the Titanium Developer app in the Terminal window.
Hope this helps some of the community users! :)
Regards,
Simon
2 Answers
-
Thank you! That worked for me!
-
Yes I had the same 'error', and your solution worked for me as well. I had to change 'HD' in your path to MacOS although I think the name of my harddrive is 'Macintosh HD'.
For me this error, leading to finding your post on this excellent developer forum, occured with a clean install on an Intel Mac with Leopard 10.6.6.
As you mention if you do it manually with a Sudo execute the download will indeed succeed.So it must have to do with the current user not having enough rights to let Titanium Installer App execute the downloads? Although, in my network monitor I did see traffic going towards the download location but than Appcelerator responded with a :
3/17/11 10:00:50 PM Installer App[1926] Response data was too small to be a file. Received "<HTML><BODY>no release found by that id</BODY></HTML>" instead.
So maybe some headers are not sent, just guessing here. But anyhow for me your solution worked. Thanks!