• 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
carbon unit test bundle won't compile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

carbon unit test bundle won't compile


  • Subject: carbon unit test bundle won't compile
  • From: Thijs Koerselman <email@hidden>
  • Date: Thu, 22 Jan 2009 15:56:59 +0100

Hi,

I tried to add a carbon unit test bundle to my project. I followed the steps in the Unit Testing.pdf:
- add target -> carbon unit test bundle
- add -> new file -> c++ test case
- add the cpp file to my unit test bundle

If I build it, I lots of errors related to headers which can't be found ("no such file or directory"), starting in Carbon.h with:
#include <CoreServices/CoreServices.h>

So I'm guessing somehow the search paths for the frameworks are not set correctly, but I can't find anything wrong. In the build settings the framework search path is set to: $(DEVELOPER_LIBRARY_DIR)/Frameworks

My other target (my app) links to Carbon as well, without problems, and I can't see the difference. I know I'm tired but this is driving me insane.

Can you think of something I might be overlooking? The unit test bundle should compile straight out of the box right?

Thijs

 _______________________________________________
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: carbon unit test bundle won't compile
      • From: Thijs Koerselman <email@hidden>
  • Prev by Date: Re: OCUnit test failure - assert formatted text not presented
  • Next by Date: XCode User-Interface - question and suggestions
  • Previous by thread: Re: OCUnit test failure - assert formatted text not presented
  • Next by thread: Re: carbon unit test bundle won't compile
  • Index(es):
    • Date
    • Thread