• 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: internal frameworks in app bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: internal frameworks in app bundle


  • Subject: Re: internal frameworks in app bundle
  • From: p3consulting <email@hidden>
  • Date: Tue, 20 Apr 2004 10:32:46 +0200

I would rather guess that the app is correctly searching a framework in /Library because the framework itself has not been built
with the installation path set to "@executable_path/../Frameworks"...

If the framework is one of yours or you have the sources: rebuilt it with the installation path set to "@executable_path/../Frameworks"
(better duplicate the original target and change just that setting in the new target)
if you don't have the sources ask the developer
if the developer doesn't have/want to ship an "embeddable" version of the framework you will have to ask the end-user to install it
in /Library or ~/Library (or your install programm should do it for the end-user).

Unless you find the right option in a Unix tool like "ld" or another one to change this particular setting in the linked library.
I know it's possible to remove the "@executable_path/../..." from a dynamic library but I don't have found the syntax to add it

somebody out there knows ?


Pascal Pochet
email@hidden



Le avr. 20, 2004, ` 09:38, Daniel Todd Currie a icrit :

It looks like your app is not searching in the correct location for the framework, check out the "Framework Search Path" in your project build settings. I also found this page helpful when I was having trouble with private frameworks:

http://cocoadevcentral.com/articles/000042.php

This page describes how to do what you need in Project Builder... Translating it into Xcode is pretty straight-forward. Hope this helps.

-- Daniel Currie


On 2004 Apr 19, at 19:10, Jeffrey J Barbose wrote:

Hi all....

I've followed some of the directions i've found online for including a separate framework inside an app bundle. Having added the copy build-phase and verifying that the framework is actually inside it, i can't figure out how to get the app executable to find/use that.

This is the error I get when i try to run the app:

dyld: /Users/jeff/Projects/depot/Client/OSX/Uploader/build/My App.app/Contents/MacOS/My App can't open library: /Library/Frameworks/Keychain.framework/Versions/A/Keychain (No such file or directory, errno = 2)



Any idea what I'm missing?

Thanks in advance,

jeff
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >internal frameworks in app bundle (From: Jeffrey J Barbose <email@hidden>)
 >Re: internal frameworks in app bundle (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Re: [little OT] Licensing/Implementing in Cocoa/Obj-C
  • Next by Date: Re: why is quartz still interpolating ??
  • Previous by thread: Re: internal frameworks in app bundle
  • Next by thread: Re: internal frameworks in app bundle
  • Index(es):
    • Date
    • Thread