`
jsntghf
  • 浏览: 2511847 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Undefined symbols for architecture i386

    博客分类:
  • iOS
阅读更多

今天编译项目的时候,报错:

 

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_RequestServer", referenced from:
      objc-class-ref in ListViewController.o
      objc-class-ref in SettingsViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

我只是将RequestServer.h和RequestServer.m拖到了项目中,而且我也选择了Copy items into destination group's folder(if needed),解决方法如下:

 

在Xcode 4.3.2的左侧项目文件列表中选中RequestServer.m文件,在右侧的File Inspector中找到Target Membership,其中有一项以项目名命名的CheckBox,将它选中后再编译即可。

分享到:
评论
3 楼 ooops 2013-02-20  
非常感谢,用到了。我今天编译的时候也遇到了,ios新手真是问题多多啊
2 楼 jsntghf 2012-12-12  
dingran 写道
就是说,没这样选择的话,这个.m文件没编译进去喽?

如果CheckBox没选中的话,这个文件是不会编译到target中去的。
1 楼 dingran 2012-12-12  
就是说,没这样选择的话,这个.m文件没编译进去喽?

相关推荐

    腾讯新浪微博分享

    在IT行业中,分享功能是许多应用不可或缺的一部分,特别是在社交媒体领域。腾讯新浪微博分享是将内容从一个应用程序推送到腾讯微博和新浪微博这两个平台的功能。这个功能的实现通常涉及到OAuth 2.0授权协议,这是一...

    ctr_drbg伪随机数发生器

    CTR_DRBG(Counter Deterministic Random Bit Generator)是NIST(美国国家标准与技术研究所)在SP 800-90A标准中定义的一种伪随机数生成器(PRNG)。...在这个实例中,我们专注于使用mbed TLS库中的CTR_DRBG实现,该库...

    Framework not found IOSurface for architecture arm64(不能设为免费?)

    在iOS应用开发中,"Framework not found IOSurface for architecture arm64" 是一个常见的构建错误,这通常发生在尝试编译或运行项目时,系统无法找到指定的架构(arm64)所需的IOSurface框架。该问题可能由多种原因...

    IEC 60617-2020国际标准Graphical symbols for diagrams

    《IEC 60617-2020国际标准Graphical symbols for diagrams》是国际电工委员会(IEC)制定的一项重要标准,主要关注图形符号在图表中的应用。这个标准详细规定了用于电气和电子工程领域图表绘制的一系列标准化图形...

    ZBarSDK/libzbar.a

    项目导入ZBarSDK 出错 ld: warning: ignoring file /Users/mac/...Undefined symbols for architecture x86_64:  "_OBJC_CLASS_$_ZBarReaderViewController", referenced from: 需要更换 libzbar.a 文件

    Xcode13.0真机调试包

    Xcode 12.3真机调试包,操作如下: 前往--应用程序/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport文件夹,拖到文件目录下之后重启 Xcode 即可

    IEEE 315-1975 Graphic Symbols for Electrical and Electronics Diagrams

    IEEE 电气原理图形符号标准 Graphic Symbols for Electrical and Electronics Diagrams

    SAE J1362-2023 Graphical Symbols for Operator Controls and

    SAE J1362-2023 Graphical Symbols for Operator Controls and Displays on Off-Road Self-Propelled Work Machines.pdf

    libnx-SDL2:SDL2 libnx的部分实现

    libnx-SDL2 SDL2 部分实现。 安装: 确保正确安装SDL2(sdl2-config正常工作)。 ...$ cd libnx-SDL2 $ make $ export DEVKITPRO=`pwd...Undefined symbols for architecture x86_64: "_accountInitialize", referenced

    IEC 60617-2020-DATABASE SNAPSHOT Graphical symbols for diagrams

    《IEC 60617-2020-DATABASE SNAPSHOT Graphical symbols for diagrams》是国际电工委员会(IEC)发布的一份关于图形符号的标准,主要应用于电气和电子工程领域的图示设计。这份标准详细规定了用于图表的图形符号,...

    SF Symbols.7z

    当你使用windows系统设计、开发苹果APP时,你需要...图标和字形生产文件已预先配置为使用Sketch Slice或Adobe Generator for Photoshop CC自动进行资产生产。还包括色板,动态类型表和字体。 仅做学习使用,不得商用。

    IEEE P280_D25:2021 Draft Standard Letter Symbols for Quantities

    《IEEE P280_D25:2021草稿标准字母符号用于电气科学与电气工程中的量》是国际电气电子工程师学会(IEEE)发布的一份重要文档,旨在规范和统一电气工程领域中使用的量的表示方式。这份标准草案为专业人员提供了清晰的...

    ISO/IEC/JTC1 Graphical Symbols for Office Equipment

    ### ISO/IEC/JTC1 图形符号在办公设备中的应用 #### 一、概述 ISO/IEC/JTC1发布的《图形符号—办公设备》标准定义了一系列用于表示办公设备功能状态的图形符号,旨在提高用户操作设备时的便捷性和安全性。...

    ExtensionProtocolforStruct

    Undefined symbols for architecture x86_64: "__TFV9submodule10testStructg3fooSS", referenced from: __TTWV9submodule10testStruct26ExtensionProtocolforStruct12testProtocolS1_FS2_g3fooSS in ...

    ic_local_play_black_36dp.zip_image_play

    描述中的"Undefined symbols for architecture arm64: referenced from:"是一个常见的编译错误,通常出现在iOS或macOS开发中,而不是Android。这个错误意味着在针对arm64架构(适用于苹果的64位设备)编译时,链接器...

    Android代码-symbols

    Symbols is a Java library to generate static strings constants for attribute names using annotation processor. Tell me more In some cases, in Java (ex: when using reflection methods) we need to refer ...

    在Mac OS上自行编译安装Apache服务器和PHP解释器

    注意,如果你在编译过程中遇到“Undefined symbols for architecture x86_64”的错误,这通常意味着缺少某些库。在这种情况下,你需要找到相应的库并安装,或者查阅错误信息以获取解决方案。 整个编译过程可能需要...

    could not read symbols: Bad value

    "could not read symbols: Bad value" 问题解决方案 本文将详细介绍在 64 位 Linux 系统下出现的 "could not read symbols: Bad value" 问题,并提供解决方案。 问题描述 -------- 在 64 位 Linux 系统下编译 ...

    windows 7 debug symbols 32位 64位 sp1的symbols是另一个文件

    windows 7 debug symbols 不含win7 sp1的symbol If you plan to install symbols manually, it is crucial that you remember this basic rule: the symbol files on the host computer are required to match the...

Global site tag (gtag.js) - Google Analytics