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: Kevin Meaney <email@hidden>
- Date: Fri, 03 Jul 2015 09:23:02 +0100
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,
>
_______________________________________________
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