• 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
Add 'static C++ library' target of ProjectA as framework to ProjectB in Xcode 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add 'static C++ library' target of ProjectA as framework to ProjectB in Xcode 4


  • Subject: Add 'static C++ library' target of ProjectA as framework to ProjectB in Xcode 4
  • From: Oleksii Taran <email@hidden>
  • Date: Thu, 23 Feb 2012 17:38:18 +0200

  Hello

  I'm not sure whether this was discussed earlier. Suppose I have
project called ProjectA with target 'C++ library (statically linked)'
called TargetA. Now if I want to add TargetA as framework to project
ProjectB with target TargetB, I follow these steps:
  1. Add ProjectA's project file to group 'Frameworks' in ProjectB;
  2. Add TargetA as 'Target Dependencies' to TargetB;
  3. Add libTargetA.a as 'Link Binary With Libraries' to TargetB.

  Now if I include any header file from TargetA as
  #include <TargetA/header.hpp>

  in any source file in ProjectB, Xcode complains about absence of this
header file. What am I doing wrong?

  Thanks in advance

--
Oleksii
 _______________________________________________
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: Re: 4.3 question and old Developer folder
  • Next by Date: Re: 4.3 question and old Developer folder
  • Previous by thread: Re: codesign vs. install_name_tool
  • Next by thread: Re: Xcode 4.2 - No provisioned iOS devices are available with a compatible iOS version.
  • Index(es):
    • Date
    • Thread