• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Shared File Names, Different Targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Using canned pcre
  • Next by Date: Re: Using canned pcre
  • Previous by thread: Re: Using canned pcre
  • Next by thread: iOS 8: New file system access
  • Index(es):
    • Date
    • Thread