My app compiles fine on the iPhone simulator running iOS 5.0, but it fails on my older physical iPod touch running iOS 4.2.1.
I'm getting the following error:
Undefined symbols for architecture armv6:
"_OBJC_CLASS_$_TestFlight", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv6
I've looked at other questions about this: Undefined symbols for architecture armv6, Updating to iOS 4.3
But they're solutions do not work. Indeed, TestFlight.h was not in Compile sources, but dragging it to Compile Sources did not change the error message. (There is no TestFlight.m; I have libTestFlight.a in "Link Binary with Libraries"
Similarly, deleting and retyping #import "TestFlight.h"
in AppDelegate.m did not change anything.
What else could be causing this compile error on my iPod?