Shared File Names, Different Targets
Shared File Names, Different Targets
- Subject: Shared File Names, Different Targets
- From: Gordon Apple <email@hidden>
- Date: Tue, 19 Aug 2014 11:18:19 -0500
- Thread-topic: Shared File Names, Different Targets
Title: Shared File Names, Different Targets
Googling this indicates that XCode does not like multiple files with the same name, even in different targets. Of course, one approach would be to superclass the files with using a common public header, i.e., a class cluster. Another is to compiler switch the file’s content. Carrying this thought a step further, how about a common file with:
#ifdef Target1
#include “ThisFileTarget1.h” (or .m)
#else
#include “ThisFileTarget2.h” (or .m)
#endif
Without resorting to experiment, what are the implications of doing this? Can it still be debugged in XCode, break points, etc.?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden