Adding frameworks to a Cocoa unit test
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