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
This commit is contained in:
Blake Watters
2012-09-18 19:04:56 -04:00
parent 2b56e132fc
commit eabfb2126e

View File

@@ -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 <SystemConfiguration/SystemConfiguration.h>"
# Platform setup
s.requires_arc = true
s.ios.deployment_target = '5.0'