diff --git a/RoutingHTTPServer.podspec b/RoutingHTTPServer.podspec index 8282437..495a104 100644 --- a/RoutingHTTPServer.podspec +++ b/RoutingHTTPServer.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.source_files = 'Source' s.requires_arc = true - s.ios.deployment_target = '4.0' + s.ios.deployment_target = '5.0' s.osx.deployment_target = '10.7' s.dependency 'CocoaHTTPServer', '~> 2.3' diff --git a/Source/RoutingConnection.m b/Source/RoutingConnection.m index 6c03360..376130e 100644 --- a/Source/RoutingConnection.m +++ b/Source/RoutingConnection.m @@ -4,7 +4,7 @@ #import "HTTPResponseProxy.h" @implementation RoutingConnection { - __unsafe_unretained RoutingHTTPServer *http; + __weak RoutingHTTPServer *http; NSDictionary *headers; }