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: Juanjo Conti <email@hidden>
- Date: Fri, 03 Jul 2015 05:32:46 -0300
If I otool -l the binary of the framework, I can read
Load command 3
cmd LC_ID_DYLIB
cmdsize 96
name
@executable_path/../Frameworks/Paddle.framework/Versions/A/Paddle (offset
24)
On Fri, Jul 3, 2015 at 5:27 AM, Juanjo Conti <email@hidden>
wrote:
> Paddle.framework is not one of my targets, it's built by a third party, so
> I can't change it. It's this
> https://github.com/PaddleHQ/Mac-Framework/archive/master.zip
>
> On Fri, Jul 3, 2015 at 5:23 AM, Kevin Meaney <email@hidden> wrote:
>
>> Ah, the clarification helps.
>>
>> Does that mean the framework you are loading is none of the targets you
>> are listing? and that it is built in a different project?
>>
>> Then you have set Runpath Search paths to @loader... in the correct
>> target (Saver) but you need to remove setting Installation Directory to
>> @rpath.
>>
>> In the project->target that builds the framework you need to set
>> Installation Directory to @rpath and rebuild.
>>
>> Once doing this your screen saver should work. But your Screen Saver app
>> won’t run. You will need to set the Runpath Search paths for the
>> Application to @loader_path/../Frameworks as well.
>>
>> Kevin
>>
>> > On 3 Jul 2015, at 08:51, Juanjo Conti <email@hidden> wrote:
>> >
>> > I think ScreensaverNinja target does not affect Saver target.
>> >
>> > The Saver target builds a screen saver (a plugin in terms of XCode)
>> > I'm trying to use the Paddle framework in both, a desktop app
>> (ScreensaverNinja target) and in the screensaver (Saver target).
>> >
>> > In the desktop app works and in the screensaver not.
>> >
>> > Was I clear? Is your reply still valid? What else should I try?
>> >
>> > Thanks,
>> >
>>
>>
>
>
> --
>
> Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
> <email@hidden>>
>
> Software Engineer - Carousel Apps <https://carouselapps.com>
>
>
--
Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
<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