How to add folder reference in XCode 4 Project Template

前端 未结 1 1220
生来不讨喜
生来不讨喜 2021-01-15 00:00

i have some problems about adding folder reference in xcode 4 project template, i just can add Groups and Sub Groups to project. does anyone successed doing this? please sha

相关标签:
1条回答
  • 2021-01-15 00:39

    If you want your file to be added to a folder, then you should reference it with its full desired path everywhere you define it (namely in the definitions and in the nodes section)

    <key>Definitions</key>
      <dict> 
        <key>css/main.h</key>
         <dict>
           <key>Path</key>
           <string>main.h</string>
           <key>Group</key>
           <string>css</string>
         </dict>
    
    <key>Nodes</key>
     <array>
      <string>css/main.h</string>
     </array>
    
    0 讨论(0)
提交回复
热议问题