title: libcurl linker error on Xcode5 but working fine on Xcode 4.6
body: <p>I have a project which uses <strong>libcurl.all.a</strong>. It builds, links and runs perfectly on Xcode 4.6.3. But in Xcode5, it throws linker errors on undefined symbols. The error log is as follows.</p>
  
  <pre><code>  Undefined symbols for architecture i386:
    "_SSLCopyPeerCertificates", referenced from:
        _darwinssl_connect_common in libcurl.all.a(libcurl_la-curl_darwinssl.o)
    "_SSLDisposeContext", referenced from:
        _Curl_darwinssl_close in libcurl.all.a(libcurl_la-curl_darwinssl.o)
        _Curl_darwinssl_shutdown in libcurl.all.a(libcurl_la-curl_darwinssl.o)
        _darwinssl_connect_common in libcurl.all.a(libcurl_la-curl_darwinssl.o)
    "_SSLNewContext", referenced from:
        _darwinssl_connect_common in libcurl.all.a(libcurl_la-curl_darwinssl.o)
    "_SSLSetEnableCertVerify", referenced from:
        _darwinssl_connect_common in libcurl.all.a(libcurl_la-curl_darwinssl.o)
    "_SSLSetProtocolVersionEnabled", referenced from:
        _darwinssl_connect_common in libcurl.all.a(libcurl_la-curl_darwinssl.o)
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>SecurityFramework is already there in the project, and i have set <strong>Build Active Architecture Only</strong> to No. And since it compiles in Xcode 4.6.3, I don't think it got anything to do with missing target membership.</p>
  
  <p>Is there any way to resolve this? Or a possible workaround, Its very essential to have this library working with Xcode5, since it needs to be used in an iOS7 application.</p>