码迷,mamicode.com
首页 > 移动开发 > 详细

IOS-开发错误

时间:2017-01-14 19:04:56      阅读:282      评论:0      收藏:0      [点我收藏+]

标签:amp   san   lang   asi   splay   add   开发   通过   copy   

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-开发错误

标签:amp   san   lang   asi   splay   add   开发   通过   copy   

原文地址:http://www.cnblogs.com/liugangBlog/p/6285820.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!