Closed torarnv closed 12 years ago
Never mind, I misinterpreted the bug I was seeing :)
Shouldn't find_file_by = file.name || file.path
be find_file_by = file.path || file.name
though, so that two file references with the same names but different paths can still be added as two separate build-files?
Sounds reasonable... will the project build ok with two similarly named files?
Yepp, that's supported by Xcode. I'll put up a patch, thanks!
We should look up existing BuildFiles, not FileReference, when determining whether or not to add a new BuildFile.