• 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
XCode Unit Test Target problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode Unit Test Target problem


  • Subject: XCode Unit Test Target problem
  • From: Randy <email@hidden>
  • Date: Mon, 28 Jan 2008 13:09:40 -0700




I made my first attempt tonight at creating a unit test target for a Cocoa project in XCode 3.0.  I followed the instructions in the UnitTesting.pdf from the Apple Developer Connection website.  I believe that I did everything laid out in the document but when I go to build the unit test target I get a build error .....

Building target “RankerTestTarget” of project “Ranker Rev. 0” with configuration “Debug” — (1 error)
i686-apple-darwin9-gcc-4.0.1: /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h: No such file or directory
i686-apple-darwin9-gcc-4.0.1: warning: '-x objective-c-header' after last input file has no effect
i686-apple-darwin9-gcc-4.0.1: no input files
Build failed (1 error)

It looks like the critical item is that it can't find the Cocoa.h file.   Has anyone experienced this problem.  The .pdf file was written in in '05 so I am suspecting something has changed since.

Thanks
 _______________________________________________
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: Delete in Xcode is mapped to upside down Question Mark...HELP!
  • Next by Date: Re: Delete in Xcode is mapped to upside down Question Mark...HELP!
  • Previous by thread: Re: Delete in Xcode is mapped to upside down Question Mark...HELP!
  • Next by thread: Link Error after upgrading to Xcode 2.5
  • Index(es):
    • Date
    • Thread