架构armv6的未定义符号,更新到iOS 4.3 [英] Undefined symbols for architecture armv6, Updating to iOS 4.3
问题描述
我正在使用新的xcode4修补从iOS 4.2到4.3的应用程序。
如果没有做任何更改,除了将iOS设置为4.3之外,我创建了权利并且去了!
I am patching upp an application from iOS 4.2 to 4.3 using new xcode4. With no changes made, except setting iOS to 4.3, I created entitlements and go!
我收到的消息是:
Undefined symbols for architecture armv6:"function", referenced from:
我试过清理项目,重新安装xcode。
我也卸载了xcode4演示版。
我也尝试设置优化armv7。
Ive tried to Clean the project, reinstalling xcode. I uninstalled also the xcode4 demo version. I also tried to set to Optimized armv7.
我会很高兴得到一些帮助,我被困住了。真的。
I would be very happy for some help, I'm stuck. Really.
非常感谢!
推荐答案
对于这种类型的错误,我通常会看到这一点:
For this type of error, this is what I typically see:
Undefined symbols for architecture armv6:
"_OBJC_CLASS_$_MyCustomController", referenced from:
objc-class-ref in SomeOtherController.o
ld: symbol(s) not found for architecture armv6
几乎每次我看到这个错误都是由隐藏引起的/ code> SomeOtherController.h 或 SomeOtherController.m
中的import语句中的/不可见字符。因此,查看.h和.m文件,找到如下所示的行:
Almost every time I see this error it is caused by hidden/invisible characters in the import statement in SomeOtherController.h
or SomeOtherController.m
. So, look at both your .h and .m file, find the line that looks like this:
#import "MyCustomController.h"
删除此行并重新输入(不要复制/粘贴它 - 你只需要重新讨论有问题的隐藏角色。)
Delete this line and retype it (do not copy/paste it -- you'll just repaste the offending hidden character).
这篇关于架构armv6的未定义符号,更新到iOS 4.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!