今天想做一个列表刷新的小demo。然后直接把之前的文件拖到我新建的工程里面。然后Build 确报错。
然后提示
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
郁闷了好久, 后来发现是拖过来的时候没有勾选"Add
to Target" 。
解决办法:1
先点击方案(左边列表,点击方案的图示)
选择target
选择页签Build
Phases
Compile
Source
如果没展开的话先展开
向下找加号,点击加号,将这个target需要的.m档案的头文件都加入吧
(如果只有一个
就把左右的.h档案都加入)
这样就应该可以了
2:拖过来勾选”Add
to Target“ 或者直接使用Add 添加进来。。。
备注:参考:http://my.csdn.net/kaixinnow2008/code/detail/4209
|
|
分享到:
相关推荐
本人自己实现的支持腾讯新浪微博分享,支持outh2.0
Framework not found IOSurface for architecture arm64所需 IOSurface.framework、FileProvider.framework
Xcode 12.3真机调试包,操作如下: 前往--应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport文件夹,拖到文件目录下之后重启 Xcode 即可
ISO 3534-3:2013 Statistics - Vocabulary and symbols - Part 3:Des
Undefined symbols for architecture arm64: referenced from:
ISO 3534-2:2006 Statistics - Vocabulary and symbols - Part 2:App
ISO 3534-1:2006 Statistics - Vocabulary and symbols - Part 1:Gen
ISO 3534-4:2014 Statistics - Vocabulary and symbols - Part 4:Sur
IEC 60617-2020国际标准Graphical symbols for diagrams IEC 60617 database snapshot created on 2020-12-01 Copyright 2020 IEC, Geneva, Switzerland. All rights reserved - Not for reproduction or ...
could not read symbols: Bad value,只在64位linux下出现的问题,需要在编译时加上-fPIC
◇解决方案:请用前面介绍的解决方案中的2、3、5、8、9方案尝试排除. ┌─┐ │ 2│ └─┘0x00000012:TRAP_CAUSE_UNKNOWN ◆错误分析:如果遇到这个错误信息, 那么很不幸, 应为KeBudCheck分析的结果是错误原因...
IEEE P280_D25:2021 Draft Standard Letter Symbols for Quantities
/use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure options were used: usr/bin/ld: cannot find -lltdl /usr/bin/ld: cannot find -...
windows xp sp3 的symbols 包 。WindowsXP-KB936929-SP3-x86-symbols-full-ENU。 找了半天,没找到中文版的符号包,只找到英文版的,不过可以用。然后这个是full版的。
iOS系统符号共享从iOS DeviceSupport文件夹复制的iOS系统符号文件。 用于象征iOS崩溃报告。 下载地址位于。 当我得到新的符号文件时,我将其添加到google驱动器共享文件夹中,并更新 。 您可以按照此存储库获取最新...
项目导入ZBarSDK 出错 ld: warning: ignoring file /Users/mac/...Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ZBarReaderViewController", referenced from: 需要更换 libzbar.a 文件
IEC 60617-DB-2020-DATABASE SNAPSHOT Graphical symbols for diagrams
libnx-SDL2 SDL2 部分实现。 安装: 确保正确安装SDL2(sdl2-config正常工作)。 ...$ cd libnx-SDL2 $ make $ export DEVKITPRO=`pwd...Undefined symbols for architecture x86_64: "_accountInitialize", referenced
usrlocalliblibz.a could not read symbols Bad value问题解决(64 位 Linux).doc
Chapter 3: Embedded Hardware Building Blocks and the Embedded Board Chapter 4: Embedded Processors Chapter 5: Board Memory Chapter 6: Board I/O (Input/Output) Chapter 7: Board Buses Section III: ...