• 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的支持

    重新编译通过

             

  • 相关阅读:
    Flex 开源框架及工具 枫
    String.Format格式说明 枫
    HTTP服务器状态代码定义(Status Code Definitions) 枫
    像素对应表 枫
    js各种获取屏幕高度宽度 枫
    c#正则表达式帮助 枫
    使用模板引擎Trimpath 枫
    分布式缓存HttpRuntime.cache应用到单点登陆中_优化登陆 枫
    Query this 和 $(this) 的区别 枫
    css and js style 枫
  • 原文地址:https://www.cnblogs.com/liugangBlog/p/6285820.html
Copyright © 2020-2023  润新知