开发者

Handling duplicate filenames in Xcode

开发者 https://www.devze.com 2023-03-13 15:58 出处:网络
I\'m writing an iOS project in Xcode 4 that uses several third-party libraries. One of those libraries contains a file with the same name as a file in my project. I\'d like to put both files in separa

I'm writing an iOS project in Xcode 4 that uses several third-party libraries. One of those libraries contains a file with the same name as a file in my project. I'd like to put both files in separate groups, but it seems like Xcode only allows one instance of each filename in th开发者_运维百科e entire project.

Is there a way around this other than renaming one of the files?

Edit: The files are Objective-C source files (.h and .m). I'm not familiar with mapping groups to folders. How do I tell Xcode to make my groups separate folders on disk?


You can directly Drag & Drop a folder onto the Xcode project and then select Create Folder references for any added.... I don't think you can directly create folders through Xcode. You can however add a Build Phase for copying files which will allow you to create folders in your bundle.

0

精彩评论

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

关注公众号