Hi:
I'm new to Titanium Studio. I tried to get the sample project running; however, the project always get stuck when trying to run on a simulator (iOS or Android), I looked at any post from the forum and tried all the possible suggestions I found: Change the permissions of the ~/Library/Application\ Support/Titanium/mobilesdk (can't find "sdk" though): http://developer.appcelerator.com/question/129595/studio-problem--stucked-on-launching-delegate Delete the Bypass Proxies: http://developer.appcelerator.com/question/138238/titanium-studio-hangs-at-launching-delegate Installing Titanium SDK 2.1.3 RC and change the Titanium SDK build properties in tiapp.xml to match 2.1.3: http://developer.appcelerator.com/blog/2012/09/titanium-sdk-2-1-3-rc-is-released-support-for-ios-6.html Disabling Git: http://developer.appcelerator.com/question/130542/titanium-studio-freezes-on-mac-osx I've also tried to create MyFirstApp from the Quick Start tutorial: http://docs.appcelerator.com/titanium/2.1/index.html#!/guide/Quick_Start. It seems like the Titanium Studio freezes at "Creating Folder..." (at this step: Click Finish, and the project will be automatically created and opened. Notice the features that you will be using often with Titanium Studio.).
I'm guessing there's some permission issue that causes the process to hang. I have also tried to enable full permission (chmod -R 777) on both the ~/Library/Application\ Support/Titanium and my workspace, e.g. ~/Titanium_Studio_Workspace, and it didn't help.
Currently, I'm running Mac OSX Lion (10.7.4) and I have XCode 4.5 (iOS 6.0) and Android SDK Tools (Rev 20) with Android 2.3/4.0.x/4.1 APIs installed. The Titanium Studio version I've installed (a few times) is: 2.1.2.201208301612, with both 2.1.2 GA and 2.1.3.v20120915120319 (currently the tiapp.xml is set to that) available.
Also, it looks like the Titanium Studio hangs when I click on (from the top menu): Titanium Studio -> Preferences -> Titanium Studio -> Titanium -> iOS Platform.
I have XCode 4.5 and XCode 4.3.2 installed, it didn't help even if I switch to XCode 4.3.2 by using this command: "sudo xcode-select -switch /Applications/Xcode.old.app/Contents/Developer"
It simply hangs, from Activity Monitor, it shows: "Titanium Studio (Not Responding)".
Here's the info from Diagnostic Test:
===========================================
Host OS: Mac OS X OS Arch: x86 JRE Version: 1.6.0_35 JRE Vendor: Apple Inc. JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Install Directory: file:/Applications/Titanium Studio/ Version: 2.1.2.201208301612 VM Arguments: -Xms40m -Xmx1024m -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000 -Declipse.log.backup.max=5 -Xdock:icon=../Resources/titanium.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Djava.class.path=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Workspace Directory: file:/Users/evan.ku/Titanium_Studio_Workspace/ Language: en_US
Titanium Mobile SDK Version: 2.1.2 Mobile SDK Modules API Version:2 Mobile SDK Timestamp: 08/24/12 14:46 Mobile SDK Build Number: ed7f777 Titanium Mobile SDK Location: /Users/evan.ku/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA
Titanium Mobile SDK Version: 2.1.3 Mobile SDK Modules API Version:2 Mobile SDK Timestamp: 09/15/12 12:03 Mobile SDK Build Number: a77d91c Titanium Mobile SDK Location: /Users/evan.ku/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.v20120915120319
===========================================
Any help would be appreciated. Thanks a lot!
2 Answers
I was having issues with Titanium crashing upon launch. I found some where on these forums that if you delete the contents of this hidden holder inside of the Titanium Studio Workspace folder (you will have to enable OSX to see these hidden folders). Path is: .metadata/.plugins/org.eclipse.core.resources/
Delete everything inside of org.eclipse.core.resources but don't delete the folder itself.
It solved the issue for me. I'm not having any issue with the simulator, except that I can't change from one device to another device. I get around that by just firing up Xcode and using the simulator from there.
You will have to re-import your projects, but Titanium remembers all the settings so it's not that big of a deal.
Good luck! I'm on Xcode 4.5, iOS 6, OSX 1.7.5 and the latest Titanium Studio and 2.1.3 SDK. Everything is almost 100%.
I tried titanium login with command line. This is the command line Error..
$ titanium login Titanium Command-Line Interface, CLI version 3.0.23, Titanium SDK version 3.0.0.GA Copyright (c) 2012, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[ERROR] Error: ENOENT, no such file or directory '/Users/Sammanjac/.titanium/auth_session.json' at Object.fs.openSync [as openSync] (fs.js:338:18) at Object.fs.writeFileSync [as writeFileSync] (fs.js:756:15) at createLoggedOutSessionFile (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:255:5) at Object.exports.status [as status] (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:200:12) at processConf (/usr/local/lib/node_modules/titanium/lib/cli.js:802:25) at loadCommand (/usr/local/lib/node_modules/titanium/lib/cli.js:887:3) at /usr/local/lib/node_modules/titanium/lib/cli.js:998:8 at async.parallel.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:454:21) at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13)
at async.forEach (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:86:13)
at Object.exports.execFile [as execFile] (child_process.js:594:9)
at exports.exec (child_process.js:481:18)
at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)
at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)
at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3
at Object.<anonymous> (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)
at Module.Module._compile [as _compile] (module.js:449:26)
at Object.Module._extensions..js [as .js] (module.js:467:10)
/usr/local/lib/node_modules/titanium/node_modules/longjohn/index.js:111 throw e; ^ Error: ENOENT, no such file or directory '/Users/Sammanjac/.titanium/auth_session.json' at Object.fs.openSync [as openSync] (fs.js:338:18) at Object.fs.writeFileSync [as writeFileSync] (fs.js:756:15) at createLoggedOutSessionFile (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:255:5) at Object.exports.status [as status] (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/auth.js:200:12) at cli.validate.async.series.async.series.cli.run (/usr/local/lib/node_modules/titanium/lib/cli.js:464:28) at async.series.results (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:486:21) at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:185:13) at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:108:13) at async.forEachSeries (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:124:9)
at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:184:9)
at Object.exports.execFile [as execFile] (child_process.js:594:9)
at exports.exec (child_process.js:481:18)
at detectLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:53:4)
at setLocale (/usr/local/lib/node_modules/titanium/lib/titanium.js:60:3)
at /usr/local/lib/node_modules/titanium/lib/titanium.js:83:3
at Object.<anonymous> (/usr/local/lib/node_modules/titanium/lib/titanium.js:85:3)
at Module.Module._compile [as _compile] (module.js:449:26)
at Object.Module._extensions..js [as .js] (module.js:467:10)
Your Answer
Think you can help? Login to answer this question!