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: "could not load inserted library" (DevToolsBundleInjection.framework): why not?



Chris, you are awesome, thanks! That worked indeed.

(I, on the other hand am not so awesome: my working projects indeed used the same value that you advised--the window just happened to cut off right before the "Versions/Current/DevToolsBundleInjection" and so I didn't notice...)

Thanks again, debugging is working and all tests are passing now. ;-)

Cheers,
--
Mason Mark
Five Speed Software, Inc.


On Nov 1, 2006, at 12:03 AM, Chris Hanson wrote:

On Oct 31, 2006, at 8:42 PM, Mason Mark wrote:

DYLD_INSERT_LIBRARIES
$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/ DevToolsBundleInjection.framework

Since there's no DYLD_INSERT_FRAMEWORKS, you'll have to specify the full path to the dynamic library within the framework:


DYLD_INSERT_LIBRARIES = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/ DevToolsBundleInjection.framework/Versions/Current/ DevToolsBundleInjection

(Unfortunate, I know.) You can also look at /Developer/Tools/ RunUnitTests for how it's done, since the script will do it for you automatically when the TEST_HOST variable is set in the script's environment.

  -- Chris


_______________________________________________ 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: 
 >"could not load inserted library" (DevToolsBundleInjection.framework): why not? (From: Mason Mark <email@hidden>)
 >Re: "could not load inserted library" (DevToolsBundleInjection.framework): why not? (From: Chris Hanson <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.