Bug in SDK 1.3
I haven't been able to build a version which runs on my iPhone since upgrading to 1.3. (see error).
Running the xcode project gave me actual errors. The generated code given by Titanium was referencing TiUIViewProxy (specifically in TiUIToolbar and TiUITableView) which I couldn't see declared anywhere. I changed these references to TiViewProxy and so far I can't see any ill effects apart from the project now actually compiles and runs on my iPhone.
It just means I have to build and fix this issues within xcode on each build. But at least I've found a solution at last.
I've literally tried everything like re-starting the project and re-installing titanium.
7 Answers
-
i already solved this problem. try adding this line in your app.js
var view = Titanium.UI.createView();
-
have you tried to create a new project and copy ressources directory ?
also you can try to create a new project, build it, then copy your ressources. One project gave me hard time, and was solved doing this.
i also had the same error in Xcode.
-
Yeah I had tried that. Was still getting the error, hence the above tweaking I have to do each time.
-
Same problem here. Recreating the project from scratch did not help. I solved the problem the same way Jordan did.
-
I am having a similar error. Here is my error: http://grab.by/4pTQ
-
as suggested, adding
var view = Titanium.UI.createView();
to app.js worked for me. -
I had the same problem but Sherwin's suggestion did not solve it for me.
It was occurring because Titanium did not add the provisioning file to Xcode. I had to add it myself by running it.