• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode File Templates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode File Templates


  • Subject: Re: Xcode File Templates
  • From: email@hidden
  • Date: Mon, 15 Feb 2010 16:53:27 -0500

On Feb 15, 2010, at 1:11 PM, Pelaia II, Tom wrote:

> Hi,
>
> How does one create a Xcode file template for a complex set of files to be added to the project?
>
> I want to create a Xcode file template that creates a directory of several template files (one of which is a subdirectory of more files) to be modified by the developer. I need the directories to be loaded as groups into my Xcode project rather than folder references.
>
> thanks,
> tom


Recently I found a link (but couldn't quickly find again just now) that discussed creating templates. Basically you start with one of the built-in templates, add the files you want and/or change the build settings you want and then save that project in:

~/Library/Application Support/Developer/Shared/Xcode/Project Templates

I had to create some of those directories at the end of the path.

I actually added a directory with my initials in that directory and then put the saved modified project in that directory and then they show up when you create a new project.

You may also be able to use /Library/Application Support/Developer/Shared/Xcode/Project Templates if you want it to be shared among other users on the machine, but I haven't tried it.

Anyways, this worked for me and I suspect someone else will chime in if the recommended way is different.

Dave

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • static libraries and missing symbols in release build
      • From: Bryan Smart <email@hidden>
    • Re: Xcode File Templates
      • From: "Pelaia II, Tom" <email@hidden>
References: 
 >Xcode File Templates (From: "Pelaia II, Tom" <email@hidden>)

  • Prev by Date: Re: Compiler Error (expected expression before 'NSArray')
  • Next by Date: Re: Upon break, debugger not showing correct line in source
  • Previous by thread: Xcode File Templates
  • Next by thread: Re: Xcode File Templates
  • Index(es):
    • Date
    • Thread