Skip to content

Commit 8399877

Browse files
committed
Fix cocoapods
1 parent c6dd1fb commit 8399877

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Socket.IO-Client-Swift.podspec

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "Socket.IO-Client-Swift"
33
s.module_name = "SocketIO"
4-
s.version = "10.0.1"
4+
s.version = "10.1.0"
55
s.summary = "Socket.IO-client for iOS and OS X"
66
s.description = <<-DESC
77
Socket.IO-client for iOS and OS X.
@@ -14,10 +14,14 @@ Pod::Spec.new do |s|
1414
s.ios.deployment_target = '8.0'
1515
s.osx.deployment_target = '10.10'
1616
s.tvos.deployment_target = '9.0'
17-
s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", :tag => 'v10.0.1' }
17+
s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", :tag => 'v10.1.0' }
1818
s.source_files = "Source/**/*.swift"
19-
s.requires_arc = true
20-
s.pod_target_xcconfig = {'SWIFT_VERSION' => '3.1'}
2119
s.libraries = 'z'
20+
s.preserve_paths = 'zlib/*'
21+
s.requires_arc = true
22+
s.pod_target_xcconfig = {
23+
'SWIFT_VERSION' => '3.1',
24+
'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/Socket.IO-Client-Swift/zlib'
25+
}
2226
# s.dependency 'Starscream', '~> 0.9' # currently this repo includes Starscream swift files
2327
end

0 commit comments

Comments
 (0)