• 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: Tjark Derlien <email@hidden>
  • Date: Thu, 19 Jan 2006 20:12:00 +0100

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Building Fat
      • From: Mark Williams <email@hidden>
References: 
 >Building Fat (From: Mark Williams <email@hidden>)

  • Prev by Date: Re: Intel Compiler
  • Next by Date: Re: Info.plist preprocessing
  • Previous by thread: Building Fat
  • Next by thread: Re: Building Fat
  • Index(es):
    • Date
    • Thread