Im update my XCode and now, Ti.API.info dont work.
I have clean project, reinstall titanium, delete build folder and a problem persist.
thanks :)
3 Answers
Accepted Answer
Was having the same problem.
This is a workaround. The appcelerator team needs to update logger.py to permanently correct.
The problem is that in xcode 4.0.2, the current iPhone / iPad simulator is actually 4.3.2, but Titanium is looking for 4.3 (as you can tell from the drop down box in the Test & Package screen).
So logger.py cannot find the log file.
The very simple way to resolve this is to create a symlink to the 4.3.2 directory called 4.3
With the symlink, the logger finds the log file and prints it to the console window.
You cannot just create an alias in Finder ... you need to do this in terminal.
in Finder browse to the iPhone Simulator directory under <your username>/Application Support/iPhone Simulator and confirm that there is no 4.3 directory but there is a 4.3.2 directory.
Open up a terminal and enter the following commands:
$ cd ~/Library/Application\ Support/iPhone\ Simulator (you can just drag the iPhone Simulator directory from finder to the terminal after you type cd)
$ ln -s 4.3.2 4.3 (This creates the symlink)
$ ls -la (This displays links)
Voila ... logging should work immediately.
Works
I can confirm this worked on "osx", using 1.8.0.v20110707160638 from http://build.appcelerator.net/.
I would suggest you move the current "4.3" incase you want to go back.
cd ~/Library/Application\ Support/iPhone\ Simulator mv 4.3 4.3.old ln -s 4.3.2 4.3
Going into the directory I am working in and running.
xcodebuild clean -configuration Debug
Moving to the latest 1.8 made my code work correctly when working with "registerBackgroundService".
I am facing same problem with Titanium 1.6.1 on Windows 7. Tried all tricks mentioned above. Nothing works. Changed from Titanium Developer to Titanium Studio but the problem still persists. Any help?
Your Answer
Think you can help? Login to answer this question!