• 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
Adding frameworks to a Cocoa unit test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding frameworks to a Cocoa unit test


  • Subject: Adding frameworks to a Cocoa unit test
  • From: Paul Thomas <email@hidden>
  • Date: Wed, 2 May 2007 20:17:15 +0100

Hi,

I'm trying to add OCMock to my unit tests without installing it. I've done all the usual things -
- the OCMock.framework is in the link phase
- a "copy files" phase adds it to the bundle Contents/Frameworks
- the OCMock.framework has @executable_path/../Frameworks as the install path


However, I'm still getting this:
error code 4 (link edit error code 4, error number 0 (Library not loaded: @executable_path/../Frameworks/OCMock.framework/Versions/A/ OCMock


Is this because the bundle is inserted in another executable? should I use a different directive?

I've checked, and the framework _is_ there inside the .octest bundle. It's just not finding it.

ta,
pt.
_______________________________________________
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: Adding frameworks to a Cocoa unit test
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: -mstackrealign works with ix86 but not pcc
  • Next by Date: Re: -mstackrealign works with ix86 but not pcc
  • Previous by thread: Re: -mstackrealign works with ix86 but not pcc
  • Next by thread: Re: Adding frameworks to a Cocoa unit test
  • Index(es):
    • Date
    • Thread