Combining iPhone/iPad apps into one universal app

Posted by user324881 on Stack Overflow See other posts from Stack Overflow or by user324881
Published on 2010-04-24T10:45:58Z Indexed on 2010/04/24 10:53 UTC
Read the original article Hit count: 329

Filed under:
|
|

I have two apps (one for the iPhone, the other for the iPad) that I'd like to combine into one universal app. For my first attempt, I tried creating a new universal app project and added the libraries for the iPhone and iPad versions. The iPad version compiled and ran fine (as expected), but the iPhone version didn't. My hope was that I could create a universal app that would execute only the project in the iPhone library when running on the iPhone and vice versa for the iPad.

It seems like this should still work. Is there a way to tell the universal app project to ignore one of the external libraries when compiling for the iPad and vice versa for the iPhone?

Thanks!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad