_AFNETWORKING_PIN_SSL_CERTIFICATES_ in AFNetworking prefix causes applications not to compile
rexeisen opened this issue · 0 comments
rexeisen commented
Abstract
When AFNETWORKING_PIN_SSL_CERTIFICATES is defined in AFNetworking (like it is when using CocoaPods), CargoBay won't compile. This is because of the two methods setAuthenticationAgainstProtectionSpaceBlock
and setAuthenticationChallengeBlock
are in the other part of the ifdef.
Steps to reproduce:
-
Create blank project.
-
Create Podfile with
platform :ios, '6.0' pod 'CargoBay'
-
run
pod install
-
Observe the xcworkspace won't compile
Workaround
For those with similar problems until an update is posed - It's an easy enough work around to uncomment that define from the Pod file.