• 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 linking Framework to my App (Solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem linking Framework to my App (Solved)


  • Subject: Re: Problem linking Framework to my App (Solved)
  • From: Mark Munz <email@hidden>
  • Date: Wed, 7 Apr 2004 21:41:13 -0600

On Apr 7, 2004, at 12:51 PM, Marius Kintel wrote:

On Wed, Apr 07, 2004 at 09:48:13AM -0600, Mark Munz wrote:

- framework is setup correctly to run inside Application @executable_path/../Frameworks

Am I forgetting an obvious step? Maybe I need a "Adding frameworks
checklist" with steps that need to be taken each time.

I haven't checked this myself, but can it be that the library itself has
a hardcoded path that also needs to be set to
@executable_path/../Frameworks/<libname> ?


e.g. install_name_tool -id <installname> <libname>

Well, the obvious thing that I forgot about. When I built the framework, I forgot to set the style to deployment. So it was using ZeroLink.


From what I've read ZeroLink has caused a lot of problems because someone either didn't realize it was on or forgot it was on. Maybe Apple should add a "warning" at the end of a build that ZeroLink is on. After all, if you build with ZeroLink on, you won't be able to give your build to anyone else.

My thanks to those folks that offered the various suggestions with this.

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


References: 
 >Problem linking Framework to my App (From: Mark Munz <email@hidden>)
 >Re: Problem linking Framework to my App (From: Marius Kintel <email@hidden>)

  • Prev by Date: phantom link errors in xcode
  • Next by Date: Another Linker Warning Question
  • Previous by thread: Re: Problem linking Framework to my App
  • Next by thread: XCode file format documentation?
  • Index(es):
    • Date
    • Thread