开发者

Xcode, add folder to project that retains directory structure and update automatically

开发者 https://www.devze.com 2023-01-17 03:20 出处:网络
开发者_JS百科I have folder that I would like to include in my Xcode project, but I would like it to retain it\'s structure (subfolder, etc). When I drag it into the resources in Xcode it expands that
开发者_JS百科

I have folder that I would like to include in my Xcode project, but I would like it to retain it's structure (subfolder, etc). When I drag it into the resources in Xcode it expands that folder into a group in the Xcode project.

I would also like it to retain it's structure so I can add and remove files without re-adding the modified folder to the project constantly.


When adding your package, select the option to "Create Folder References for any added folders". Xcode will create a reference to the directory, and notice changes every time you rebuild the package.

Xcode, add folder to project that retains directory structure and update automatically

0

精彩评论

暂无评论...
验证码 换一张
取 消