Re: Problem having a framework working in one of my targets (a screensaver)
Re: Problem having a framework working in one of my targets (a screensaver)
- Subject: Re: Problem having a framework working in one of my targets (a screensaver)
- From: Roland King <email@hidden>
- Date: Fri, 03 Jul 2015 17:48:26 +0800
www.google.com
"mike ash install_name_tool”
> On 3 Jul 2015, at 17:45, Juanjo Conti <email@hidden> wrote:
>
> Could you point me to that articles please?
>
> On Fri, Jul 3, 2015 at 6:38 AM, Roland King <email@hidden <mailto:email@hidden>> wrote:
>
>> On 3 Jul 2015, at 17:29, Kevin Meaney <email@hidden <mailto:email@hidden>> wrote:
>>
>> I’m not sure either of those will work.
>>
>> On 3 Jul 2015, at 10:07, Roland King <email@hidden <mailto:email@hidden>> wrote:
>>>
>>> There’s two other options
>>>
>>> 1) Use install_name_tool to change the name in the library to the one you want. If it’s shorter, and it should be as the install name in that library seems rather long, you can do that
>>
>> I don’t think modifying the Installation Directory will work. I’ve checked my framework using otool as Juanjo mentioned he did. Building my Framework I’ve set Installation Directory to @rpath but the name I see using otool still says @executable_path/… etc. so there is some information set elsewhere which informs the linker. So I don’t think editing the path using install_name_tool will help.
>
> I think it’ll work just fine, that’s what install_name_tool is there for, that’s what I’ve used it for and many others too. You change the install name of the thing you’re linking to before you link it and it shows up in a the right place in the final executable.
>
> I believe Mike Ash did a series of two great articles on this.
>
>
>
>
> --
> Juanjo Conti <jjconti <http://goog_2023646312/>@carouselapps.com <mailto:email@hidden>>
> Software Engineer - Carousel Apps <https://carouselapps.com/>
>
>
> Carousel Apps Limited, registered in England & Wales with registered number 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket Street, London SE1 3HN. Any communication sent by or on behalf of Carousel App Ltd or any of its subsidiary, holding or affiliated companies or entities (together "Watu") is confidential and may be privileged or otherwise protected. If you receive it in error please inform us and then delete it from your system. You should not copy it or disclose its contents to anyone. Messages sent to and from Watu may be monitored to ensure compliance with our internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free. Anyone who communicates with us by email is taken to accept these risks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden