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: Chicken & egg situation



> On Jun 26, 2008, at 9:12 AM, Timothy Reaves wrote:
>
>>     The issue is that the CustomControl.ibplugin bundle needs to
>> reference the framework too. This leads to all kinds of issues, but
>> basically the ibplugin bundle can't load, saying it can't load the
>> library at @executable_path/../frameworks/(the rest of the path).
>
> Use an @rpath-relative install name in the framework, and then set the
> "Runpath Search Paths" build setting in anything that *links against*
> that framework to contain a collection of locations where that
> framework may be found.
>
> More information on @rpath is in the dyld release notes and in the
> ld64 man page:
>
>    x-man-page://1/ld64
>    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ld64.1.html
>    http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html
>
> ld64 is the primary linker on Mac OS X 10.5 and later.
>
>>     Another issue is build order; the framework needs to include the
>> ibplugin bundle so that IB will automagically find & load it, and the
>> ibplugin needs the framework.
>
>> *) to get around the build order issue, do I have to resort to adding
>> another target that copies the varies pieces to the correct location?
>
> The IB plug-in could just have a Copy Files build phase at the end of
> its build phases that embeds it within its framework.
>
>    -- Chris
>
>
>

     Well, I've tried a couple of different path's, and I can't seem to
get it to work. I think more thought is going to have to be put into
this.


 _______________________________________________
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



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.