ios - AFNetworking "Undefined symbols for architecture i386" Error -
i have added afnetworking library files project(which downloaded github). didn't created other view controller/class etc in application. built application , found 9 errors "undefined symbols architecture". appreciated.
i listed down list of errors.
undefined symbols architecture i386: "_seccertificatecopydata", referenced from: -[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o "_seccertificatecreatewithdata", referenced from:___44+[afurlconnectionoperation pinnedpublickeys]_block_invoke in afurlconnectionoperation.o "_secpolicycreatebasicx509", referenced from:___44+[afurlconnectionoperation pinnedpublickeys]_block_invoke in afurlconnectionoperation.o -[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o "_sectrustcopypublickey", referenced from:___44+[afurlconnectionoperation pinnedpublickeys]_block_invoke in afurlconnectionoperation.o -[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o "_sectrustcreatewithcertificates", referenced from:___44+[afurlconnectionoperation pinnedpublickeys]_block_invoke in afurlconnectionoperation.o -[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o "_sectrustevaluate", referenced from:___44+[afurlconnectionoperation pinnedpublickeys]_block_invoke in afurlconnectionoperation.o -[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o "_sectrustgetcertificateatindex", referenced from:-[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o
"_sectrustgetcertificatecount", referenced from:-[afurlconnectionoperation connection:willsendrequestforauthenticationchallenge:] in afurlconnectionoperation.o
ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
i think need add security.framework
in ios project.
Comments
Post a Comment