• 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
Runtime check if weak frameworks are loaded
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Runtime check if weak frameworks are loaded


  • Subject: Runtime check if weak frameworks are loaded
  • From: email@hidden
  • Date: Wed, 15 Mar 2006 21:34:11 +0100

To weak link against a framework, I've followed to advices on:

http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFrameworks/Concepts/WeakLinking.html

So I'm using -weak_framework Foo and checking for successful loading with

  #include <Foo/foo.h>

  if (::fooMethod == NULL)
        return;

This code works fine for while but since I switched from Xcode 1.5 to 2.2 and
from gcc3.3 to gcc4 fooMethod is never NULL neither Foo.framework exists or not.


What could it be the reason?

-kaarle

_______________________________________________
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


  • Prev by Date: Re: dlopen and RTLD_LOCAL
  • Next by Date: "Fat" debug apps in Xcode.
  • Previous by thread: Re: Can you remote debug from PowerPC to Intel?
  • Next by thread: "Fat" debug apps in Xcode.
  • Index(es):
    • Date
    • Thread