当前位置:网站首页>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配置即可。
边栏推荐
- MySQL 数据库 报错 The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid)
- DPU — 功能特性 — 存储系统的硬件卸载
- Redis cache and existing problems--cache penetration, cache avalanche, cache breakdown and solutions
- Controller-----controller
- 【每日一题】1403. 非递增顺序的最小子序列
- k-nearest neighbor fault monitoring based on multi-block information extraction and Mahalanobis distance
- routing----router
- The Secrets of the Six-Year Team Leader | The Eight Most Important Soft Skills of Programmers
- RedisTemplate: 报错template not initialized; call afterPropertiesSet() before using it
- Moonbeam团队发布针对整数截断漏洞的紧急安全修复
猜你喜欢
随机推荐
DataFrame insert row and column at specified position
【 a daily topic 】 1403. The increasing order of the sequence, boy
Long-term recruitment embedded development-Shenzhen Baoan
撕裂寂寞
[Repost] Marry a man must marry a man whose salary is at least 3571.4 yuan higher than yours
D2--FPGA SPI interface communication2022-08-03
工程制图直线投影练习
DataFrame在指定位置插入行和列
What is the connection and difference between software system testing and acceptance testing? Professional software testing solution recommendation
Fiddler tool explanation
让程序员崩溃的N个瞬间(非程序员误入)
施一公:科学需要想象,想象来自阅读
spark集群部署(第三弹)
[Structural Internal Power Cultivation] The Mystery of Enumeration and Union (3)
十一道家常小菜详细攻略[图文并茂]
Random code generation
Rotation of the displayed value on the button
Redis实现分布式锁-原理-问题详解
微信小程序请求封装
Chapter 12 Bayesian Networks