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

  • SEARCH
  • Home
  • 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 4247622
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:07:56+00:00 2026-05-21T04:07:56+00:00

While there is quite a lot of documentation and example for creating templates in

  • 0

While there is quite a lot of documentation and example for creating templates in XCode 3 converting them to XCode4 Templates is quite a nightmare…

First here is what i’ve found:

  • BorealKiss provides a nice tutorial for staters
  • Cocos2d has some very nice examples to make your templates more “evolved”

But all of them fail to answer this sample question:

How can someone create Folders Insider other Folders ?

For example if you want to have files inside a group you should write:

<key>Definitions</key>
<dict>
    <key>File1.h</key>
    <dict>
        <key>Group</key>
        <string>Group1</string>
        <key>Path</key>
        <string>File1.h</string>
        <key>TargetIndices</key>
        <array/>
    </dict>
    <key>File1.m</key>
    <dict>
        <key>Group</key>
        <string>Group1</string>
        <key>Path</key>
        <string>File1.m</string>
    </dict>
</dict>

<key>Nodes</key>
<array>
    <string>File1.h</string>
    <string>File1.m</string>
</array>

but how would you go for having Group1 inside Group2 for example.

I’ve tried many many things, playing with ancestors and all but nothing worked.
Any piece of advice or any documentation (I couldn’t find any on those XCode templates) would be greatly appreciated.

  • 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-05-21T04:07:57+00:00Added an answer on May 21, 2026 at 4:07 am

    I’ve tried many times modify the TemplateInfo.plist and I’ve also tried to make a sub group and put files in them. Finally I found the solution:

    Definition section:

    <key>Definitions</key>
    <dict>
        <key>main.h</key>
        <dict>
            <key>Path</key>
            <string>main.h</string>
            <key>Group</key>
            <array>
                <string>parent</string>
                <string>child</string>
            </array>
        </dict>
    </dict>
    

    in the node section:

    <key>Nodes</key>
    <array>
        <string>main.h</string>
    </array>
    

    The code above will create groups parent and child. and the main.h is in the child

    Project
    --parent
    ---child
    ----main.h
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having been a PHP developer on LAMP servers for quite a while, is there
I've switch from VB.NET to C# several months ago, while there are a lot
There are quite a lot of unittesting frameworks out there for .NET. I found
While there are 100 ways to solve the conversion problem, I am focusing on
I am building a multithreaded system that works like this: While there are entities:
What are some key UI design tips that every developer should know? While there
On linux, I am opening a pseudo tty on the master side. While there
While it's my understanding that there's no fundamental reason a program written for 32-bit
Is there an easy way of using the RegularExpressionValidator control while ignoring white space?
while writing a custom attribute in C# i was wondering if there are any

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.