Titanium Community Questions & Answer Archive

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

How to compile hybrid (iPhone & iPad) apps?

Is it possible to create hybrid binary apps that work on both iPhone and iPad using Titanium? We do this now with the standard iPhone SDK.

— asked July 29th 2010 by Mark Burggraf
  • binary
  • hybrid
  • ipad
  • iphone

3 Answers

  • I think you can but you have to create 2 separate projects, one for iphone and the other for ipad. Then just make a separate folder for universal code/modules and symbolic link them inside the Resources folder of both projects.

    — answered July 29th 2010 by Felipe Apostol
  • But will this compile a universal binary that works on the iPhone but still takes advantage of the larger screen on the iPad?

    — answered July 29th 2010 by Mark Burggraf
    1 Comment
    • No. Its not possible with Titanium at the moment. You will have 2 app binaries, one for iPhone and another for iPad

      — commented July 30th 2010 by Felipe Apostol
  • 25

    — answered June 19th 2012 by Bill Freedman
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.