Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dyld: library not loaded




Le 28 mai 08 à 16:43, Daniel Luis dos Santos a écrit :

Hello,

I am trying to debug test code, and have made a target for a command line tool to do so. I have configured the SenTestingKit framework in the build options, and it compiles and links fine.

When I run the code I get the following output :


dyld: Library not loaded: @rpath/SenTestingKit.framework/Versions/A/ SenTestingKit
Referenced from: /Users/dlsa/code/Boobs/trunk/base-common/build/ Debug/testRunner
Reason: image not found




SenTestingKit is intended to be used with the "otest" tool (in / Developer/Tools that is automatically invoked by Xcode when you build a TestUnit target), and not by your own testing tool.
If you really need to create your own testing tool, you have to set the DYLD_FALLBACK_FRAMEWORK_PATH env var to /Developer/Library/ Framework (where the SenTestingKit framework stand). (see man dyld for details).




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >dyld: library not loaded (From: Daniel Luis dos Santos <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.