From d8243673c20aaaf0542abe728e91c2a582a21d1b Mon Sep 17 00:00:00 2001 From: Blake Watters Date: Fri, 5 Oct 2012 15:06:12 -0400 Subject: [PATCH] Import Availability.h before attempting to reference `__IPHONE_OS_VERSION_MIN_REQUIRED`, else CoreServices will be imported instead of MobileCoreServices --- AFNetworking.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/AFNetworking.podspec b/AFNetworking.podspec index bdf61c8..4954fac 100644 --- a/AFNetworking.podspec +++ b/AFNetworking.podspec @@ -16,6 +16,7 @@ Pod::Spec.new do |s| s.osx.frameworks = 'CoreServices', 'SystemConfiguration' s.prefix_header_contents = <<-EOS +#import #if __IPHONE_OS_VERSION_MIN_REQUIRED #import #import