IOS-开发错误
Posted 柳刚
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了IOS-开发错误相关的知识,希望对你有一定的参考价值。
Undefined Symbols for Architecture I386
1234567891011121314151617181920212223242526 | Undefined symbols for architecture i386: "_SecCertificateCopyData", referenced from: _AFCertificateTrustChainForServerTrust in AFSecurityPolicy.o "_SecCertificateCreateWithData", referenced from: _AFPublicKeyForCertificate in AFSecurityPolicy.o "_SecPolicyCreateBasicX509", referenced from: _AFPublicKeyForCertificate in AFSecurityPolicy.o _AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.o "_SecTrustCopyPublicKey", referenced from: _AFPublicKeyForCertificate in AFSecurityPolicy.o _AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.o "_SecTrustCreateWithCertificates", referenced from: _AFPublicKeyForCertificate in AFSecurityPolicy.o _AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.o "_SecTrustEvaluate", referenced from: _AFPublicKeyForCertificate in AFSecurityPolicy.o _AFServerTrustIsValid in AFSecurityPolicy.o _AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.o "_SecTrustGetCertificateAtIndex", referenced from: _AFCertificateTrustChainForServerTrust in AFSecurityPolicy.o _AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.o "_SecTrustGetCertificateCount", referenced from: _AFCertificateTrustChainForServerTrust in AFSecurityPolicy.o _AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.old: symbol(s) not found for architecture i386clang: error: linker command failed with exit code 1 (use -v to see invocation) |
查了下原来他需要Security.framework的支持
重新编译通过
以上是关于IOS-开发错误的主要内容,如果未能解决你的问题,请参考以下文章
iOS开发CGRectGetMidX. CGRectGetMidY.CGRectGetMinY. CGRectGetMaxY. CGRectGetMinX. CGRectGetMaxX的使用(代码片段
错误记录Flutter 混合开发获取 BinaryMessenger 报错 ( FlutterActivityAndFragmentDelegate.getFlutterEngine() )(代码片段