Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7852217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:22:11+00:00 2026-06-02T19:22:11+00:00

All the new templates in Xcode 4.3/iOS 5 are geared up for using storyboards,

  • 0

All the new templates in Xcode 4.3/iOS 5 are geared up for using storyboards, ARC and create the main window elements programmatically instead of using a XIB.

I still have a copy of all the old-style application template files from Xcode 4.2, and in many circumstances they are better for what I want to do. I have tried to copy the folder containing the template files into the following directory:

Developer > Platforms > iPhoneOS.platform > Developer > Library > Xcode > Templates > Project Templates > Application >

And have added an ‘.xctemplate’ extension to the template folder, as the new templates seem to follow this convention.

But the files aren’t recognised by Xcode.

Is there a way of getting these older templates to work?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T19:22:11+00:00Added an answer on June 2, 2026 at 7:22 pm

    Have a look in this directory: ~/Library/Developer/Xcode/Templates.

    It might require a little work from your end to port the templates to their new place, but if you’re lucky and your templates already have the right format, you can just copy and paste.

    In my case, I disliked having to create the C++ header and implementation file separately, so I created my own templates back on Xcode 4.1 and 4.2. Unfortunately, they didn’t survive the upgrade to 4.3 ( which I could and should’ve known ).

    Now I wanted to add my own templates to the C and C++ file creation screen. Here’s what I did:

    1. Create the directory ~/Library/Developer/Xcode/Templates/C and C++. This makes sure the files are added to the already existing C and C++ tab.
    2. In that directory, create another directory and name it what you would like to call your template, and use the .xctemplate extension to make sure Xcode recognizes it. In my case the directory was called “C++ and Header File.xctemplate”
    3. In the xctemplate directory, create a TemplateInfo.plist file. I copied mine from a Cocos2d template and fiddled around with it a bit. Check the link below to find out what information is needed at a minimum.
    4. Create the rest of the files you want created when selecting the template. For me, those were “___FILEBASENAME___.h” and “___FILEBASENAME___.cpp”, but you can probably get this to fit your own needs.

    Read this for a little more info: http://meandmark.com/blog/2011/11/creating-custom-xcode-4-file-templates/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a new Xcode project using Storyboards (tab view template). I added
Background: Up until Xcode 4.2, new projects created using any of the templates would
I've been using ShowDialog() in following way for all my new Windows. SomeGui test
I created a new project in Xcode 4 using the Cocoa Application template and
How do I create a sorted map or tree map in velocity templates using
If you create a new project with Xcode and tell it to create a
I'm getting this error message on all projects (including brand new empty templates) I'm
xcode 4.2 ios 5 single view template I am very new to this ios
XCode 4 has the new build errors panel, that doesn't work at all for
Trying to get custom Done button in Utility Application Create new project in Xcode

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.