views:

3989

answers:

5

Just installed the latest SDK for iPhone 2.1. When I go to File -> New Project in XCode, under the iPhone OS Application selection, I don't see a template icon for "Cocoa Touch Application". Am I missing something? Anything else I need to download other than the iPhone SDK? If not, how do I add it to the "iPhone OS Application" templates?

+2  A: 

All the templates (under iPhone) are Cocoa based.

The difference between them is basically how you set up the main View and the navigational controls that are installed by default.

Martin York
+1  A: 

You shouldn't need to add any templates, this is what happens by default.

The closest thing to a normal Cocoa Touch application would be the Window-Based application as it gives you a window and a delegate...

The others, like Martin said, have different styles already applied to them... OpenGL, Navigation Controllers, Views, etc.

whoisjake
A: 

Is this new with iPhone OS 2.1? Because I see references to Cocoa Touch Application template out on the net.

Mac
All the templates are "Cocoa Touch Application" templates because all native iPhone applications are Cocoa touch applications.
benzado
A: 

I am having the same exact issue. I have watched tutorials where the screen doesnt look like my Xcode "new project..." screen. I dont even see Cocoa anything and I just downloaded and installed the iPhone SDK 2.2.1

Did you ever get this issue resolved and if so, how? I am pulling out whats left of my hair. :-)

Additional: I am running an iMac 4GB, Mac OS X 10.5.6

Optimal Solutions
Sounds like the iPhone SDK didn't install correctly.. perhaps a reinstall of both could fix it?
dbr
I will give that a shot. In the mean time, I downloaded examples from Apple's site and they work fine. So I am wondering if I need to?
Optimal Solutions
+3  A: 

OK, after some more digging, I found several posts which seem to indicate that the template names have been changed (from the apple support site). So the problem is not with our templates, it is with the video tutorials - they have not been updated. Here is the template mapping between old and new, best I can tell:

Cocoa Touch OpenGL Application -> OpenGL ES Application

Cocoa Touch Tab Bar -> Tab Bar Application

Cocoa Touch Utility -> Utility Application

Cocoa Touch Application -> Window-based Application / View based application

Cocoa Touch List -> Navigation based Application

TheUXGuy