• 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 with prebinding and Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with prebinding and Frameworks


  • Subject: Re: Problem with prebinding and Frameworks
  • From: Sherm Pendley <email@hidden>
  • Date: Wed, 10 May 2006 02:31:36 -0400

On May 9, 2006, at 11:06 AM, Julio Bianco wrote:

When I run it as debug, everything goes right, but when I try to build it as release, I've got the same error I've with the previous configuration (that one that I use calling the framework provided for somebody else).

Have you tried doing a clean build? Deleting the build folder?

I try to do everything you tell me to do in your previous email, but it doesn't work neither.
I don't know what else to do. Can you guide me a little more?

It "doesn't work" in what way? I told you what was wrong, and where you should be copying the "inner" framework to:


If you want to put A.framework in a version-specific subdirectory, you need to set up a symlink at the expected path in Frameworks/ that points to it. It expects to see it there a compile time, so that it can read the install_path from it that will be used to find it at run time.

	B.framework\
		|->Frameworks\
			A.framework -> ../Versions/A/Frameworks/A.framework

The "inner" A.framework can be either the framework itself, or as it indicates above, a symlink to a specific version of A.framework.


Things to check:

A.framework should have an install path of "@loader_path/../ Frameworks/A.framework/A".

B.framework should have an install path of "@executable_path/../ Frameworks/B.framework/B".

B.framework should include a "copy files" build phase that copies A.framework into its Frameworks folder.

Foo.app should include a "copy files" build phase that copies B.framework into its Frameworks folder.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem with prebinding and Frameworks (From: Julio Bianco <email@hidden>)
 >Re: Problem with prebinding and Frameworks (From: Sherm Pendley <email@hidden>)
 >Re: Problem with prebinding and Frameworks (From: Julio Bianco <email@hidden>)
 >Re: Problem with prebinding and Frameworks (From: Sherm Pendley <email@hidden>)
 >Re: Problem with prebinding and Frameworks (From: Julio Bianco <email@hidden>)
 >Re: Problem with prebinding and Frameworks (From: Sherm Pendley <email@hidden>)
 >Re: Problem with prebinding and Frameworks (From: Julio Bianco <email@hidden>)

  • Prev by Date: Re: Quit menu item undimming itself?!
  • Next by Date: Re: Quit menu item undimming itself?!
  • Previous by thread: Re: Problem with prebinding and Frameworks
  • Next by thread: Sound Manager?
  • Index(es):
    • Date
    • Thread