From eabfb2126eae8b67e153535bbef8dd8ee32adeaf Mon Sep 17 00:00:00 2001 From: Blake Watters Date: Tue, 18 Sep 2012 19:04:56 -0400 Subject: [PATCH] Add prefix_header_contents to ensure that AFNetworking dependency build with SystemConfiguration/Reachability enabled. This is a Cocoapods build issue tracked at: https://github.com/CocoaPods/CocoaPods/issues/529 --- RestKit.podspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RestKit.podspec b/RestKit.podspec index 0388845b..7dd62d42 100644 --- a/RestKit.podspec +++ b/RestKit.podspec @@ -7,6 +7,9 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/RestKit/RestKit.git', :branch => 'feature/reboot-networking-layer' } s.license = 'Apache License, Version 2.0' + # Add System Configuration to prefix to enable reachability in AFNetworking + s.prefix_header_contents = "#import " + # Platform setup s.requires_arc = true s.ios.deployment_target = '5.0'