jrdioko
jrdioko

Reputation: 33447

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 the 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?

Upvotes: 3

Views: 1251

Answers (1)

Deepak Danduprolu
Deepak Danduprolu

Reputation: 44633

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.

Upvotes: 2

Related Questions