• 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: Building Fat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Fat


  • Subject: Re: Building Fat
  • From: Mark Williams <email@hidden>
  • Date: Thu, 19 Jan 2006 16:26:53 -0700

This turned out to be exactly the problem. Thanks for the reply. I don't know how it got changed, I certainly don't remember doing it but since I know the ghost that lives here doesn't know how to use my computer it had to be something I did or did not do. Problem fixed and thanks again.

On Jan 19, 2006, at 12:12 PM, Tjark Derlien wrote:

Did you set the corrent "INSTALL_DIR" for the frameworks? Every framework contains the path where it is to be found.
At runtime an application or other framework which linked with that framework will look for it at the specified location.
If you place the linked framework elsewhere than the specified installation path it won't be found at runtime.
For embedded framework (which reside in the "Frameworks" folder in you bundle) the installation path "@executable_path/../Frameworks" should be used (http://developer.apple.com/documentation/MacOSX/ Conceptual/BPFrameworks/index.html).


Does this help you?

- Tjark


Am 19.01.2006 um 19:48 schrieb Mark Williams:

I am having the hardest time building a fat binary.
Ok. I have two custom frameworks that I include with every project I do. I have built them fat and placed them in /Developer/SDKs/ Library/Frameworks. I add them to my project then set up a target for universal build. I build and then if I attempt to run the application on any other computer i get the error that /Users/mark/ Library/Frameworks/AGDCommon/Versions/A/AGDCommon does not exist. Well of course not because I have no frameworks in my user/library at all. I am copying the frameworks both in to the application bundle, what I don't understand is why it cannot find them in the bundle? But now if I build it for PPC only everything works fine.
I am building from 10.4.4 on a PPC using XCode 2.2. I have even tried creating a brand new empty project and adding these frameworks in and it will not run due to the same error.
Where is my error? Is it something I am doing wrong with the framework build or the applications?


Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40derlien.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40fornextsoft.com


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Building Fat (From: Mark Williams <email@hidden>)
 >Re: Building Fat (From: Tjark Derlien <email@hidden>)

  • Prev by Date: [Ann] bTop1 Development Tools 1.1 now available
  • Next by Date: C Preprocessor Macro expansion in GDB
  • Previous by thread: Re: Building Fat
  • Next by thread: Help debugging a framework
  • Index(es):
    • Date
    • Thread