• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem having a framework working in one of my targets (a screensaver)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Thu, 02 Jul 2015 16:12:13 -0300

More on this. It I change the Runpath Search Path for the target in
question to use loader_path instead of executable_path, the error still
mention executable_path. Why?

http://i.imgur.com/yIoTWNe.png

On Wed, Jul 1, 2015 at 5:04 PM, Juanjo Conti <email@hidden>
wrote:

> Hi!
>
> I've an XCode Swift project with 2 targets, an traditional app and a
> screensaver. I want to use a framework in both (I've tried with at least 2
> frameworks with no luck).
>
> In the app they work ok but in the screensaver, despite that I'm able to
> compile (I have a bridging file with the appropriate importe and I have the
> framework copied and linked, see http://imgur.com/yniEY1b) when the
> screensaver runs it crash with this error in Console:
>
> Jul  1 16:33:15 ironbird.local ScreenSaverEngine[60006]: Error loading
> /Users/juanjo/Library/Screen Savers/Ninja.saver/Contents/MacOS/Ninja:
>  dlopen(/Users/juanjo/Library/Screen
> Savers/Ninja.saver/Contents/MacOS/Ninja, 265): Library not loaded:
> @executable_path/../Frameworks/Paddle.framework/Versions/A/Paddle
>   Referenced from: /Users/juanjo/Library/Screen
> Savers/Ninja.saver/Contents/MacOS/Ninja
>   Reason: image not found
>
> Can someone help me to solve the problem or at least to debug it? If I
> search for the error I find people that forgotten to either copy or link
> the framework, which is not my case.
>
> Thanks in advance!
>
> --
>
> 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


  • Follow-Ups:
    • Re: Problem having a framework working in one of my targets (a screensaver)
      • From: Kevin Meaney <email@hidden>
References: 
 >Problem having a framework working in one of my targets (a screensaver) (From: Juanjo Conti <email@hidden>)

  • Prev by Date: Re: Issues with hiding NSTableColumns with autolayout
  • Next by Date: What is "TypeA -> TypeB"?
  • Previous by thread: Problem having a framework working in one of my targets (a screensaver)
  • Next by thread: Re: Problem having a framework working in one of my targets (a screensaver)
  • Index(es):
    • Date
    • Thread