在 xcode 的自定义项目模板中创建物理存在文件夹 [英] Create physical existence folder in Custom project Template of xcode
问题描述
我是使用 XCode 的新开发人员,我尝试创建自定义项目模板以及任何我成功的方式,但我使用 .plist 文件中的 Groups 键创建文件夹.选择我的自定义项目模板后创建的文件夹没有物理存在.我想创建具有物理存在的文件夹,请帮我解决这个问题.提前致谢
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
推荐答案
我已经通过下面的代码行实现了.
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>
在模板 .plist 文件中添加这行代码,它将创建文件夹以及 AppDelegate 类组
Add this line of code in your template .plist file it will create folder as well as group of AppDelegate class
这篇关于在 xcode 的自定义项目模板中创建物理存在文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!