• 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: Garbage Collection Errors when Creating System Prefs Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collection Errors when Creating System Prefs Pane


  • Subject: Re: Garbage Collection Errors when Creating System Prefs Pane
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 05 Oct 2016 10:16:41 -0700


On Oct 5, 2016, at 9:18 AM, Robert Monaghan <email@hidden> wrote:

Here is the error output from Xcode, after renaming the NSPreferencePane subclass to “.mm”
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_NSPreferencePane", referenced from:
      _OBJC_CLASS_$_TestPane in TestPane.o
  "_OBJC_METACLASS_$_NSPreferencePane", referenced from:
      _OBJC_METACLASS_$_TestPane in TestPane.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Well, that’s bizarre. It’s as though the PreferencePane.framework isn’t being linked in. I wonder if this is some bug related to automatic import of modules? Do you have that framework explicitly listed in your target's library list, or are you relying on it being linked automatically?

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: Garbage Collection Errors when Creating System Prefs Pane
      • From: Robert Monaghan <email@hidden>
References: 
 >Re: Garbage Collection Errors when Creating System Prefs Pane (From: Robert Monaghan <email@hidden>)
 >Re: Garbage Collection Errors when Creating System Prefs Pane (From: Jens Alfke <email@hidden>)
 >Re: Garbage Collection Errors when Creating System Prefs Pane (From: Robert Monaghan <email@hidden>)

  • Prev by Date: Re: Garbage Collection Errors when Creating System Prefs Pane
  • Next by Date: Re: Garbage Collection Errors when Creating System Prefs Pane
  • Previous by thread: Re: Garbage Collection Errors when Creating System Prefs Pane
  • Next by thread: Re: Garbage Collection Errors when Creating System Prefs Pane
  • Index(es):
    • Date
    • Thread