| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hello, I had to remake the project file to change from a bundle to a dynamic library. Having done that, and those three steps you mentioned, I am having another problem, that I write here in case you know the answer. I am trying to run unit tests using the OCUnit framework under Xcode 2.5 on Tiger. I have a target to build the code, and another target to build a test bundle. I am linking both the code and the unit test bundle with other two dylib's that the code depends on. The code targets depend on those two other projects that generate the dynamic libs, and the test bundle depends on the code target. In the linking build step on both targets I added the dylib's of those two other projects. When I build both targets everything runs fine. When the test bundle target runs the script to run the tests at the end it complains about the other projects dylib's not being loaded: 2008-01-31 11:20:12.575 otest[2104] *** -[NSBundle load]: Error loading code /Users/dlsa/code/Su-render/trunk/rendering-lib.subproj/FileToDBImportExport.subproj/build/Debug/TesterBundle.octest/Contents/MacOS/TesterBundle for bundle /Users/dlsa/code/Su-render/trunk/rendering-lib.subproj/FileToDBImportExport.subproj/build/Debug/TesterBundle.octest, error code 4 (link edit error code 4, error number 0 (Library not loaded: /usr/local/lib/model-elements.dylib It is searching for the depended project's dylib in the installation path. How can I change this ? Many thanks. On Jan 30, 2008, at 5:11 PM, Chris Espinosa wrote:
|
_______________________________________________ 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: | |
| >Link problem (From: Daniel Luis dos Santos <email@hidden>) | |
| >Re: Link problem (From: Chris Espinosa <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.