Undefined symbols for architecture x86_64:

"_SecCertificateCopyData", referenced from:

_AFCertificateTrustChainForServerTrust in AFSecurityPolicy.o

"_SecCertificateCreateWithData", referenced from:

_AFPublicKeyForCertificate in AFSecurityPolicy.o

-[AFSecurityPolicy evaluateServerTrust:forDomain:] in AFSecurityPolicy.o

"_SecPolicyCreateBasicX509", referenced from:

_AFPublicKeyForCertificate in AFSecurityPolicy.o

-[AFSecurityPolicy evaluateServerTrust:forDomain:] in AFSecurityPolicy.o

_AFPublicKeyTrustChainForServerTrust in AFSecurityPolicy.o

"_SecPolicyCreateSSL", referenced from:

-[AFSecurityPolicy evaluateServerTrust:forDomain:] 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.o

"_SecTrustSetAnchorCertificates", referenced from:

-[AFSecurityPolicy evaluateServerTrust:forDomain:] in AFSecurityPolicy.o

"_SecTrustSetPolicies", referenced from:

-[AFSecurityPolicy evaluateServerTrust:forDomain:] in AFSecurityPolicy.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

基于Xcode7 在使用AFNetworking 时的报错 12个

只需要添加一个Security.framework 就可以了。

Xcode7 使用AFNetWorking 报错 添加Security.framework的更多相关文章

  1. 抓取https网页时,报错sun.security.validator.ValidatorException: PKIX path building failed 解决办法

    抓取https网页时,报错sun.security.validator.ValidatorException: PKIX path building failed 解决办法 原因是https证书问题, ...

  2. Xcode7 网络请求报错

    xcode7 网络报错: The resource could not be loaded because the App Transport Security policy reguir 原因:iO ...

  3. AFNetworking报错"_UTTypeCopyPreferredTagWithClass", referenced from: _AFContentTypeForPathExtens

    问题: 在和Unity交互的过程中,从Unity开发工具打包出来的项目文件,在添加AFNetworking库,运行时报出以下错误: Undefined symbols for architecture ...

  4. 使用AFNetworking 报错提示

    使用AFNetworking 框架 解析数据 报错提示数据请求失败Error Domain=NSCocoaErrorDomain Code=3840 "The operation could ...

  5. SpringMVC DELETE,PUT请求报错 添加支持Http的DELETE、PUT请求

    SpringMVC删除与修改操作需要用DELETE,PUT请求方式提交. 但要知道浏览器form表单只支持GET与POST请求,而DELETE.PUT等method并不支持. spring3.0添加了 ...

  6. afnetworking报错pointer being freed was not allocated

    报错内容 YangTao(57008,0x7000002a0000) malloc: *** error for object 0x6180000d6490: pointer being freed ...

  7. 启动 nodemanger 报错javax.security.sasl.SaslException: GSS initiate failed

    最近启动 Hadoop, nodemanger 老挂,报kerberos 验证错误,各种查找原因,时间也同步,kint 也能登录到kerberos,一直找不到原因,最后发现是网关和远端的时间同步,但是 ...

  8. 解决报错"Your security system have blocked an application with expired or not yet valid certificate from running"

    方法如下: Go to Control Panel Java in the Security tab click the "Edit Site List-" button clic ...

  9. 十八、浏览器不能打开jenkins报告,报错Opening Robot Framework report failed

    解决方案一:(推荐) 打开jenkins----系统管理---输入:  System.setProperty("hudson.model.DirectoryBrowserSupport.CS ...

随机推荐

  1. 解决java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException

    解决: 工程目录.settings\org.eclipse.wst.common.project.facet.core.xml文件中jst.web的version降低到2.5 <?xml ver ...

  2. soapUI系列之—-02 Groovy脚本常用方法

    ------Groovy脚本常用方法 1. 设置参数值:setPropertyValuea. 设置 project level property//set to project level prope ...

  3. Node-webkit 介绍

    什么是Node-webkit ? Node-webkit 是Intelproject师rogerwang写的一个基于node.js和chromium的应用程序执行环境,通过node-webkit,我们 ...

  4. Android开发pool解析xml

    xml在开发中的作用不可小觑,很多时候我们都要用到这种文件,所以学习它的解析方式很是必要. 我们都知道java中xml的解析有:dom,SAX,但是Android下我们使用pool解析,是更为方便,而 ...

  5. Python代码分析工具

    Python代码分析工具:PyChecker.Pylint - CSDN博客 https://blog.csdn.net/permike/article/details/51026156

  6. mysql连接com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link

    jdbc驱动:mysql-connector-java-5.1.39-bin.jar 这个有问题, 换成:mysql-connector-java-5.1.34.jar 就可以了

  7. jquery中注意点

    1.jquery.fn.extend和jquery.extend jquery.fn.extend是向jquery中的prototype中添加方法或者属性,而jquery.extend是向jquery ...

  8. 《Visual C++ 2010入门教程》系列四:VC2010中初学者常见错误、警告和问题

    <Visual C++ 2010入门教程>系列四:VC2010中初学者常见错误.警告和问题   这一章将帮助大家解释一些常见的错误.警告和问题,帮助大家去理解和解决一些常见问题,并了解它的 ...

  9. [Tjoi2016&Heoi2016] 树

    [题目链接] https://www.lydsy.com/JudgeOnline/problem.php?id=4551 [算法] 树链剖分 时间复杂度 : O(QlogN) [代码] #includ ...

  10. bzoj 3232 圈地游戏 —— 01分数规划+最小割建图(最大权闭合子图)

    题目:https://www.lydsy.com/JudgeOnline/problem.php?id=3232 心烦意乱的时候调这道题真是...越调越气,就这样过了一晚上... 今天再认真看看,找出 ...