当前位置:网站首页>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配置即可。
边栏推荐
- Luogu P3368: 【模板】树状数组 2
- ts/js function pass parameter with function writing
- 基因数据平台
- Chapter 12 Bayesian Networks
- [Structural Internal Power Cultivation] The Mystery of Enumeration and Union (3)
- Constellation ideal lover
- The color of life divine
- [Repost] Marry a man must marry a man whose salary is at least 3571.4 yuan higher than yours
- php fails to write data to mysql
- XSS靶机通关以及XSS介绍
猜你喜欢
随机推荐
Walk 100 trick society
How to make pictures clear in ps, self-study ps software photoshop2022, simple and fast use ps to make photos clearer and more textured
按钮上显示值的轮流切换
512色色谱图
画法几何及工程制图考试卷A卷
六年团队Leader实战秘诀|程序员最重要的八种软技能 - 脸皮薄容易耽误事 - 自我营销
Luogu: P2574 XOR的艺术 [线段树]
网页直接访问链接不让安全中心拦截
DPU — 功能特性 — 网络系统的硬件卸载
【结构体内功修炼】结构体实现位段(二)
星座理想情人
接口全周期的生产力利器Apifox
让硬盘更快,让系统更稳定
NC20164 :最大数MAXNUMBER [线段树]
Controller-----controller
Thinking and summary of the efficiency of IT R&D/development process specification
浅谈自动采集程序及入库
Detailed explanation of DNS query principle
The toss of MM before going to the street (interesting)
Redis implements distributed lock-principle-detailed explanation of the problem









