The problem with multiple goals is that it can conflict with the distribution model.
From what I understand, iPad and iPhone apps will be distributed as a single binary. The application decides whether to show the user interface of the iPad or iPod at runtime.
This means that if you do not want to separate applications from the "Foo" and "Foo iPad Edition" stores, you cannot use several goals and somehow you will have to work with one code base.
I hate this because there can be many conditional things in the application. If the iPad does this, otherwise do it. If the iPhone displays this controller, otherwise display a different one. I do not think this will lead to good code.
So, at the moment Iβm thinking of doing something in the middle: I will create basically two code bases and somewhere at the very beginning of the application, I will decide to switch to the full iPad or iPhone code.
Stefan arentz
source share