Question

I haven't had any problems using UIKit classes until I tried to use a UIPopoverController, now I get the linker error:

Undefined symbols:
  "_OBJC_CLASS_$_UIPopoverController", referenced from:
      __objc_classrefs__DATA@0 in Tweak.xm.c4a09c77.o
ld: symbol(s) not found

I've made sure I have UIKit in my make file so I'm not sure what the problem is.

Was it helpful?

Solution

The issue is most certainly that you have a version of the development sysroot that doesn't yet have UIPopoverController (i. e. it's older than the iOS 3.2 SDK). Change to a newer version of development sysroot. The latest available is 6.1.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top