• 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
can't find NSDefaultRunLoopMode in 10.4.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't find NSDefaultRunLoopMode in 10.4.x


  • Subject: can't find NSDefaultRunLoopMode in 10.4.x
  • From: Matt Connolly <email@hidden>
  • Date: Sun, 20 Jul 2008 09:58:16 +0100

I'm writing a preference pane which uses a timer added to the current run loop in the mode NSDefaultRunLoopMode.

It seems that 10.4.x systems can't find this symbol with a dyld link error at load time, and the preference pane fails to load on 10.4.x systems. Works fine on 10.5.x.

My prefpane links to:
MattBookPro:MacOS matt$ otool -L FadeGuardian
FadeGuardian:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 12.0.0)
/System/Library/Frameworks/PreferencePanes.framework/Versions/A/ PreferencePanes (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 31122.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation (compatibility version 150.0.0, current version 476.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 677.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.0.0)



But interestingly enough:

MattBookPro:MacOS matt$ nm /System/Library/Frameworks/ Foundation.framework/Versions/C/Foundation | grep NSDefaultRunLoopMode
00272c56 S $ld$add$os10.4$_NSDefaultRunLoopMode


and

MattBookPro:MacOS matt$ nm /System/Library/Frameworks/ Foundation.framework/Versions/C/Foundation | grep NSRunLoopCommonModes
00272c57 S $ld$add$os10.4$_NSRunLoopCommonModes
U _NSRunLoopCommonModes



Any ideas what's going on here?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: can't find NSDefaultRunLoopMode in 10.4.x
      • From: "Stephen J. Butler" <email@hidden>
  • Prev by Date: Re: drawRect infinite loop -- argh!
  • Next by Date: Re: can't find NSDefaultRunLoopMode in 10.4.x
  • Previous by thread: obtaining authorizing for task_for_pid
  • Next by thread: Re: can't find NSDefaultRunLoopMode in 10.4.x
  • Index(es):
    • Date
    • Thread