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?
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.
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.
Is this new with iPhone OS 2.1? Because I see references to Cocoa Touch Application template out on the net.
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
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