mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user