我的应用程序在运行iOS 5.0的iPhone模拟器上编译得很好,但是它在运行iOS 4.2.1的较旧的物理iPod touch上失败。未定义的符号架构armv6
,我发现了以下错误:
Undefined symbols for architecture armv6:
"_OBJC_CLASS_$_TestFlight", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv6
我看了其他问题这一点: Undefined symbols for architecture armv6, Updating to iOS 4.3
但他们的解决方案不起作用。确实,TestFlight.h不在编译源代码中,但将其拖到编译源文件中并没有改变错误信息。 (有没有TestFlight.m;我有libTestFlight.a“链接二进制与图书馆”
同样,删除和重新输入AppDelegate.m #import "TestFlight.h"
没有任何改变
还有什么可能会造成这个编译。 ?我的iPod上的错误
可能重复http://stackoverflow.com/questions/5403575/undefined-symbols-for-architecture-armv6-updating-to-ios -4-3) –