diff --git a/SocketRocket.xcodeproj/project.pbxproj b/SocketRocket.xcodeproj/project.pbxproj index 30aa8a4a1..0c5cb637e 100644 --- a/SocketRocket.xcodeproj/project.pbxproj +++ b/SocketRocket.xcodeproj/project.pbxproj @@ -1173,6 +1173,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 81D647591D2CA6A100690609 /* SocketRocket-iOS-Dynamic.xcconfig */; buildSettings = { + CURRENT_PROJECT_VERSION = 1.0; + DYLIB_CURRENT_VERSION = 1.0; MTL_ENABLE_DEBUG_INFO = YES; }; name = Debug; @@ -1181,6 +1183,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 81D647591D2CA6A100690609 /* SocketRocket-iOS-Dynamic.xcconfig */; buildSettings = { + CURRENT_PROJECT_VERSION = 1.0; + DYLIB_CURRENT_VERSION = 1.0; MTL_ENABLE_DEBUG_INFO = NO; }; name = Release; @@ -1207,6 +1211,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 81D6475A1D2CA6A100690609 /* SocketRocket-iOS.xcconfig */; buildSettings = { + CURRENT_PROJECT_VERSION = 1.0; + DYLIB_CURRENT_VERSION = 1.0; }; name = Debug; }; @@ -1214,6 +1220,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 81D6475A1D2CA6A100690609 /* SocketRocket-iOS.xcconfig */; buildSettings = { + CURRENT_PROJECT_VERSION = 1.0; + DYLIB_CURRENT_VERSION = 1.0; }; name = Release; }; diff --git a/SocketRocket/SRWebSocket.h b/SocketRocket/SRWebSocket.h index a3806f1a0..ecad542c7 100644 --- a/SocketRocket/SRWebSocket.h +++ b/SocketRocket/SRWebSocket.h @@ -131,7 +131,7 @@ extern NSString *const SRHTTPResponseErrorKey; @param request Request to initialize with. */ -- (instancetype)initWithURLRequest:(NSURLRequest *)request; +- (instancetype)initWithSRURLRequest:(NSURLRequest *)request; /** Initializes a web socket with a given `NSURLRequest`, specifying a transport security policy (e.g. SSL configuration). diff --git a/SocketRocket/SRWebSocket.m b/SocketRocket/SRWebSocket.m index 4e30aef54..31b1b0db5 100644 --- a/SocketRocket/SRWebSocket.m +++ b/SocketRocket/SRWebSocket.m @@ -213,7 +213,7 @@ - (instancetype)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray