当前位置:网站首页>Xcode 12 ld: symbol(s) not found for architecture armv64
Xcode 12 ld: symbol(s) not found for architecture armv64
2022-08-05 08:45:00 【今人不见古时月,今月曾经照古人】
Xcode 12.3 打包Hbuilderx的SDK包时,报以下错:
"_OBJC_CLASS_$_KSCrashReportFilterAppleFmt", referenced from:
objc-class-ref in liblibPDRCore.a(H5CoreExceptionHandler.o)
"_OBJC_CLASS_$_KSCrash", referenced from:
objc-class-ref in liblibPDRCore.a(H5CoreExceptionHandler.o)
"_OBJC_CLASS_$_KSCrashInstallationStandard", referenced from:
objc-class-ref in liblibPDRCore.a(H5CoreExceptionHandler.o)
ld: symbol(s) not found for architecture armv64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
跟据查询的资料,发现不缺少liblibPDRCore.a包,liblibPDRCore.a的依赖都在。后来发现了下面的资料,就解决了编译报错。
Xcode 12不再支持VALID_ARCHS,需移除!采用Excluded Architectures过滤掉不需要的架构即可!
如果项目在Build Settings下的User-Defined中添加了VALID_ARCHS属性,需要将其移除,否则无法在Xcode 12编译运行设备。
如果确实需要设定支持/不支持的架构,通过Excluded Architectures配置即可。
边栏推荐
- egg框架中解决跨域的三种方案
- egg框架
- The Secrets of the Six-Year Team Leader | The Eight Most Important Soft Skills of Programmers
- routing----router
- pnpm 是凭什么对 npm 和 yarn 降维打击的
- The Coolest Kubernetes Network Solution Cilium Getting Started Tutorial
- 控制器-----controller
- Pagoda measurement - building small and medium-sized homestay hotel management source code
- 浅谈自动采集程序及入库
- sphinx matches the specified field
猜你喜欢
随机推荐
TensorFlow installation steps
创业者如何吸引风险投资商
love is a sad song
Why is pnpm hitting npm and yarn dimensionality reduction?
iptables实现网络限制下ntp自定义端口同步时间
SQL SERVER on master-slave table trigger design
浅谈自动采集程序及入库
php fails to write data to mysql
DPU — 功能特性 — 安全系统的硬件卸载
egg框架中解决跨域的三种方案
七夕看什么电影好?爬取电影评分并存入csv文件
Embedded Systems: Basic Timers
Fiddler tool explanation
让程序员崩溃的N个瞬间(非程序员误入)
工程制图知识点
Luogu P4588: [TJOI2018]数学计算
Fiddler工具讲解
【结构体内功修炼】结构体实现位段(二)
The Coolest Kubernetes Network Solution Cilium Getting Started Tutorial
十一道家常小菜详细攻略[图文并茂]









