I am new developer to use XCode I trying to Create custom project template and any how I success but I create folder using Groups key in .plist file. Folder which are created after selecting my custom project template have no physical existence. I want to create folder which have physical existence please help me out from this problem. Thanks in Advance
In .plist file add these lines. It will create folder and group of AppDelegate class.
<key>Classes/AppDelegate/AppDelegate.h</key>
<dict>
<key>Group</key>
<array>
<string>Classes</string>
<string>AppDelegate</string>
</array>
<key>Path</key>
<string>Classes/AppDelegate.h</string>
</dict>
I have implemented it by below line of code.
<key>Classes/AppDelegate/AppDelegate.h</key>
<dict>
<key>Group</key>
<array>
<string>Classes</string>
<string>AppDelegate</string>
</array>
<key>Path</key>
<string>Classes/AppDelegate.h</string>
</dict>
Add this line of code in your template .plist file it will create folder as well as group of AppDelegate class
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.