ios Symbol(s) not found for architecture arm64总结 含隐藏错误cocoapods
一、通用
报错:Desktop/project/ASDF/WEIXIN/libWeChatSDK.a (3 slices) Undefinedsymbols for architecture arm64:
这样的编译问题真的好头疼,以下是一个管用的法子。
ARCHS = armv7 armv7s
VALID_ARCHS = armv6 armv7 armv7s arm64
二、http://stackoverflow.com/questions/33321897/xcode-7-1-symbols-not-found-for-architecture-arm64
Xcode 7.1 - symbol(s) not found for architecture arm64
2 down vote accepted |
Alternatively, add the library to the Link Binary with Libraries build phase (for screenshots see https://www.chilkatsoft.com/xcode-link-static-lib.asp). |
三、
1 down vote 2 |
I'm trying to run my app on an iPhone5S (connected) not sim. The project references a static libary. I did lipo on it and it supports i386 armv7 x86_64 arm64. When I run I get ld: symbols(s) not found for arch arm64 Under Build Settings, Arch... I have $(ARCHS_STANDARD) in bold is armv7 and arm64 Any ideas.... this is driving me crazy thanks in advance |
2 down vote accepted |
Alternatively, add the library to the Link Binary with Libraries build phase (for screenshots see https://www.chilkatsoft.com/xcode-link-static-lib.asp). |
四、IOS编译报错:objc-class-ref in AppDelegate.o之解决方案
|
http://demo.netfoucs.com/banqingyang/article/details/43051671
五、使用cocoapod 的程序,可能因为修改过 other linker Flag设置导致,编译出线问题。 |
解决方法:Target ->Linking -> other linker Flag and add $(inherited) in other linker flag in both Debug and Release.
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
· .NET Core 托管堆内存泄露/CPU异常的常见思路
· PostgreSQL 和 SQL Server 在统计信息维护中的关键差异
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
· 上周热点回顾(2.17-2.23)