CargoBay icon indicating copy to clipboard operation
CargoBay copied to clipboard

AFNetworking's changes break CargoBay

Open khanlou opened this issue 13 years ago • 3 comments

CargoBay's podspec for AFNetworking is not pinned to a version, so the new changes to AFNetworking, namely removing setAuthenticationAgainstProtectionSpaceBlock: and setAuthenticationChallengeBlock: in AFHTTPRequestOperation break CargoBay.

Can we pin the podspec to a specific version so that this won't happen in the future?

khanlou avatar Jun 05 '13 18:06 khanlou

:+1:

hlfcoding avatar Jun 07 '13 12:06 hlfcoding

../CargoBay.m:875:6: No visible @interface for 'AFHTTPRequestOperation' declares the selector 'setAuthenticationAgainstProtectionSpaceBlock:'

../CargoBay.m:879:6: No visible @interface for 'AFHTTPRequestOperation' declares the selector 'setAuthenticationChallengeBlock:'

suleymancalik avatar Jun 14 '13 09:06 suleymancalik

Okay, I have tracked this down. In the podspec, a #define was added to the .pch. See commit: https://github.com/AFNetworking/AFNetworking/commit/effd1136d2100d5acb555f2144568d54708434fe. If you want CargoBay to work again, make a custom podspec without this line, or link your pod directly to the commit before, or https://github.com/AFNetworking/AFNetworking/commit/8215c43680243097806250da2a88b396e3b3bf5f.

khanlou avatar Jun 18 '13 19:06 khanlou