Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked May 16th 2010 by Jordan de Laune
  • iphone
0 Comments

7 Answers

  • i already solved this problem. try adding this line in your app.js

    var view = Titanium.UI.createView();

    — answered May 17th 2010 by Sherwin Terunez
    permalink
    0 Comments
  • 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.

    — answered May 16th 2010 by Stephane Pelamourgues
    permalink
    0 Comments
  • Yeah I had tried that. Was still getting the error, hence the above tweaking I have to do each time.

    — answered May 16th 2010 by Jordan de Laune
    permalink
    0 Comments
  • Same problem here. Recreating the project from scratch did not help. I solved the problem the same way Jordan did.

    — answered May 17th 2010 by Michael Descher
    permalink
    0 Comments
  • I am having a similar error. Here is my error: http://grab.by/4pTQ

    — answered May 17th 2010 by Jackson Miller
    permalink
    1 Comment
    • Somethings not installed correct if you don't have that file.

      Can you check to see if that file is correctly symlinked under the PROJECT/build/iphone/lib folder?

      — commented May 31st 2010 by Jeff Haynie
  • as suggested, adding
    var view = Titanium.UI.createView();
    to app.js worked for me.

    — answered May 30th 2010 by Gary Alexander
    permalink
    0 Comments
  • 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.

    — answered June 28th 2010 by Xiao Jin
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.