Undefined symbols for architecture i386:的解决方案
2012-11-22 15:02
337 查看
对于错误信息Undefined symbols for architecture i386:的解决方案
其他代码当拷贝文件到工程里的时候,若不注意勾选"Add to Target",运行时会报如下类似的错误: Undefined symbols for architecture i386: "_OBJC_CLASS_$_SKPSMTPMessage", referenced from: objc-class-ref in ConfirmController.o "_kSKPSMTPPartContentTransferEncodingKey", referenced from: -[ConfirmController sendEmail] in ConfirmController.o "_kSKPSMTPPartMessageKey", referenced from: -[ConfirmController sendEmail] in ConfirmController.o "_kSKPSMTPPartContentTypeKey", referenced from: -[ConfirmController sendEmail] in ConfirmController.o ld: symbol(s) not found for architecture i386 解决方法: 先点击方案(左边列表,点击方案的图示) 选择target 选择页签Build Phases Compile Source 如果没展开的话先展开 向下找加号,点击加号,将这个target需要的.m档案的头文件都加入吧 (如果只有一个 就把左右的.h档案都加入) 这样就应该可以了
描述:类似Undefined symbols for architecture i386: "_OBJC_CLASS_$_SKPSMTPMessage", referenced from: objc-class-ref in ConfirmController.o "_kSKPSMTPPartContentTransferEncodingKey", referenced from: -[ConfirmController sendEmail] in ConfirmController.o
"_kSKPSMTPPartMessageKey", referenced from: -[ConfirmController sendEmail] in ConfirmController.o "_kSKPSMTPPartContentTypeKey", referenced from: -[ConfirmController sendEmail] in ConfirmController.o ld: symbol(s) not found for architecture i386的错误
相关文章推荐
- 对于错误信息Undefined symbols for architecture i386:的解决方案
- 引入第三方库错误Undefined symbols for architecture i386: _OBJC_CLASS_$的解决方案
- IOS开发笔记 (3)对于错误信息Undefined symbols for architecture i386:的解决方案
- 引入第三方库错误Undefined symbols for architecture i386: _OBJC_CLASS_$的解决方案
- Undefined symbols for architecture i386:的解决方案
- 解决Xcode 的 undefined symbols for architecture i386 问题
- Undefined symbols for architecture i386的错误
- Undefined symbols for architecture i386: "_OBJC_CLASS_$_AVOSCloud", referenced from:
- Undefined symbols for architecture i386: "_CATransform3DIdentity", referenced from: -[EGORef
- iOS【Undefined symbols for architecture i386: 错误的解决办法】
- Undefined symbols for architecture i386: "_OBJC_CLASS_$_xxxxx", referenced from:
- Undefined symbols for architecture i386: “_OBJC_CLASS_$_XXX”, referenced from: objc-class-ref in XX
- solve xcode Undefined symbols for architecture i386:"_OBJC_CLASS_$_SKPSMTPMessage", referenced from
- Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage", referenced from: error
- Undefined symbols for architecture i386: “_OBJC_CLASS_$_XXX”, referenced from: objc-class-ref in XXX
- ShareSDK Undefined symbols for architecture i386: "_OBJC_CLASS_$_xx文件名", referenced from:
- Undefined symbols for architecture i386: "MyGetOpenALAudioData(__CFURL const*, int*, int*, int*)"
- Undefined symbols for architecture i386
- Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage", referenced from: error
- Undefined symbols for architecture i386: _OBJC_CLASS_$_ViewController 类未加载的蛋疼IDE BUG