• 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: Lost in Linking a Framework within the App bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lost in Linking a Framework within the App bundle


  • Subject: Re: Lost in Linking a Framework within the App bundle
  • From: Ron Ballesteros <email@hidden>
  • Date: Tue, 20 Jul 2004 22:44:00 -0700

Seeing that I was so deep into my confusion. I started out fresh and performed the steps described by mmalcolm crawford below. This time I just used the compiled framework. After building my app, I got an error of "warning -F: directory name(@executable_path/../Frameworks) does not exist"
I thought that this might be because of a dependency but I couldn't see how I could add a dependency in my projects target when I only have one target in my project.

So I guess am still at lost?



On Jul 20, 2004, at 6:53 PM, mmalcolm crawford wrote:

On Jul 20, 2004, at 4:16 PM, Charles PARNOT wrote:

From what you say, I think you did not do what follows, so just in case here is a potential solution:
I believe you have to recompile the framework itself with @executable_path/../Frameworks, as explained here:
http://www.cocoadevcentral.com/articles/000042.php
(good thing you have the source code, otherwise you are stuck)

If you don't have the source code:

* Put the compiled framework in a "Frameworks" folder in the project folder.

* Add the framework to the project.

* Add a Copy Files build phase as described at <http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFrameworks/Tasks/CreatingFrameworks.html>.

* Set the project's Framework Search Paths to
@executable_path/../Frameworks Frameworks

mmalc
_______________________________________________
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: 
 >Lost in Linking a Framework within the App bundle (From: Ron Ballesteros <email@hidden>)
 >Re: Lost in Linking a Framework within the App bundle (From: Charles PARNOT <email@hidden>)
 >Re: Lost in Linking a Framework within the App bundle (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Getting IP Address
  • Next by Date: Re: From Carbon to Cocoa
  • Previous by thread: Re: Lost in Linking a Framework within the App bundle
  • Next by thread: Re: Lost in Linking a Framework within the App bundle
  • Index(es):
    • Date
    • Thread