Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Creating XCode Project Templates?

Creating XCode Project Templates?
Thread Tools
Dedicated MacNNer
Join Date: Feb 2001
Status: Offline
Reply With Quote
Aug 18, 2004, 12:07 PM
 
Does anybody know how to do this? I realise that you make a folder in the App Support folder and put a project file there, but how do you get XCode to copy and rename template files when you create a new project?

Im trying to persuade XCode to act as an Actionscript editor, which it will do, but Id like to set up a project template with all my directories, standard .as files and .flas and have XCode rename a bunch of files based on the project name (you can see this behavior with many of the project templates Apple supply). I've had a look at some of the existing templates, but its not working.

Can anyone help?
     
qyn
Dedicated MacNNer
Join Date: Dec 2000
Location: sj ca
Status: Offline
Reply With Quote
Aug 18, 2004, 02:32 PM
 
You need to make a correct TemplateInfo.plist file, which defines some search-n-replace strings in your files. It's best to just look at existing templates and modify to suit your tastes.

Look in /Library/Application Support/Apple/Developer Tools/Project Templates/
     
Dedicated MacNNer
Join Date: Feb 2001
Status: Offline
Reply With Quote
Aug 18, 2004, 04:38 PM
 
Originally posted by qyn:
You need to make a correct TemplateInfo.plist file, which defines some search-n-replace strings in your files. It's best to just look at existing templates and modify to suit your tastes.

Look in /Library/Application Support/Apple/Developer Tools/Project Templates/
thanks for that, I found the TemplateInfo.plist files in the File Template directory, not the Project Template one, so how does modifying these files affect a Project Template? Is there some trick as to which files I need to modify so that my project can create the appropriate files? Ive tried modying existing projects, but there arent any actionscript ones, so I dont have much to work with.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:09 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2