开发者

Handling duplicate filenames in Xcode

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜