• 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: Framework with missing symbols halts programs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework with missing symbols halts programs


  • Subject: Re: Framework with missing symbols halts programs
  • From: Chris Espinosa <email@hidden>
  • Date: Mon, 10 May 2004 08:55:22 -0700

On May 10, 2004, at 6:42 AM, email@hidden wrote:

Here's my problem -- I've included a framework that sometimes exists on people's machines and sometimes exists in an earlier version that is missing some symbols I use. I have no problem checking for this -- but OS X never calls my app, it just halts execution when it can't find the symbols.

If there a flag I can twiddle somewhere in XCode that can tell it to give a slightly better error on launch?

Not reallyif you link with a shared library or framework, your code can't be loaded if the framework is missing.


If you control the framework you could possibly rebuild it to be weak, but that won't help copies already deployed in the field.

The general solution for this is to not link with the framework, but to load it dynamically after you launch, then get its entry points and call the framework through those entry points.

Chris
_______________________________________________
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: 
 >Framework with missing symbols halts programs (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Programming
  • Next by Date: Internal Error when loading project
  • Previous by thread: Re: Framework with missing symbols halts programs
  • Next by thread: Xcode to X11?
  • Index(es):
    • Date
    • Thread