以下の内容はhttps://anton0825.hatenablog.com/entry/20140129/1391098125より取得しました。


cocoa podのpost_installフックを使ってAFNetworkingの自己証明書を許可する

Podfileに以下を追加すればよい。

post_install do |installer_representation|
  installer_representation.project.targets.each do |target|
    if target.name == 'Pods-AFNetworking'
      target.build_configurations.each do |config|
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << '_AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_=1'
      end
    end
  end
end

参考:objective c - I want to allow invalid SSL certificates with AFNetworking - Stack Overflow




以上の内容はhttps://anton0825.hatenablog.com/entry/20140129/1391098125より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14