• 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
Re: including .h files in a project with two static library targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: including .h files in a project with two static library targets


  • Subject: Re: including .h files in a project with two static library targets
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 28 Nov 2012 08:13:42 -0800

On Fri, 16 Nov 2012 23:00:44 +0800, Roland King <email@hidden> said:
>I had the original mail the wrong way around, I can build an OS X static library, when I add the same files to an iOS one I cannot select the headers as members of the build product. I've deleted all the build products, rebooted, tried two different Xcode versions, different project names. If I add the .h files on an OSX project they can be selected, if I add the exact same files on iOS, asking for them to be copied .. they cannot be selected as part of the target.

But surely you shouldn't need to make *any* header files part of the target. They don't need to be copied to the built app; they just need to be seen during compilation, and that has nothing to do with target membership - it has to do with where you've told a target to look for header files. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
 _______________________________________________
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

  • Follow-Ups:
    • Re: including .h files in a project with two static library targets
      • From: Roland King <email@hidden>
  • Prev by Date: Re: specifying images for image views in nibs
  • Next by Date: Re: Remembering last commit message
  • Previous by thread: including .h files in a project with two static library targets
  • Next by thread: Re: including .h files in a project with two static library targets
  • Index(es):
    • Date
    • Thread