gpt4 book ai didi

objective-c - 架构 armv7s 的 undefined symbol

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:31:36 24 4
gpt4 key购买 nike

当我构建我的旧版本应用程序 ios 4.3 时,我有这个警告

Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_SSSwitch", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_SSHUDView", referenced from:
objc-class-ref in ContractorInfoViewController.o
objc-class-ref in ContractorListViewController.o
objc-class-ref in EvenementBilleterieViewController.o
objc-class-ref in EvenementCoupDeCoeurViewController.o
objc-class-ref in EvenementRequestViewController.o
objc-class-ref in GourmetCoupDeCoeurViewController.o
objc-class-ref in GourmetRequestViewController.o
...
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

请帮帮我

最佳答案

链接器错误通常意味着您正在尝试从未链接到的库或类似库中访问代码。在你的情况下,它看起来像访问了某种 SS 库,但没有链接。通过在文件导航器中选择项目,然后选择:

,确保所有潜在的库都已添加到项目中
Target -> Build Phases -> Link binary with libraries

希望对您有所帮助。

关于objective-c - 架构 armv7s 的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13112122/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com