ios - compilation error AFNetworking , Semantic issue? -


i using tutorial "mobile.tutsplus.com/tutorials/iphone/ios-sdk_afnetworking/" understanding use of afnewtworking. disabled arc suggested,but think tutorial bit old. because latest version of afnetworking requires arc ? tried compiling without arc , showed messages saying arc required. seeing following compilation error when compile arc enabled.

  "/users/user/documents/networkingisfun/networkingisfun/afnetworking-afnetworking-215a32e/example/classes/afappdotnetapiclient.m:54:40: use of undeclared identifier 'afsslpinningmodepublickey'" 

has seen issue before ?

  • add missing variable .pch file:
    #define _afnetworking_pin_ssl_certificates_

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -