Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Fix] SocketRocket

  • Loading branch information...
commit 4ba90fb6b4632061018bfa14d8b926b4cde9ef45 1 parent 0fa9411
@fabiopelosin fabiopelosin authored
Showing with 13 additions and 14 deletions.
  1. +13 −14 SocketRocket/0.1/SocketRocket.podspec
View
27 SocketRocket/0.1/SocketRocket.podspec
@@ -1,16 +1,15 @@
Pod::Spec.new do |s|
- s.name = "SocketRocket"
- s.version = '0.1'
- s.summary = 'A conforming WebSocket (RFC 6455) client library.'
- s.homepage = 'https://github.com/square/SocketRocket'
- s.authors = { 'Square' => '' }
- s.source = { :git => 'https://github.com/square/SocketRocket.git' }
- s.source_files = 'SocketRocket/*.{h,m,c}'
-
- s.requires_arc = true
-
- s.ios.frameworks = %w{CFNetwork Security}
- s.osx.frameworks = %w{CoreServices Security}
-
- s.libraries = "icucore"
+ s.name = "SocketRocket"
+ s.version = '0.1'
+ s.summary = 'A conforming WebSocket (RFC 6455) client library.'
+ s.homepage = 'https://github.com/square/SocketRocket'
+ s.authors = 'Square'
+ s.license = 'Apache License, Version 2.0'
+ s.source = { :git => 'https://github.com/square/SocketRocket.git', :commit => '82c9f8938f8b9b7aa578866cb7ce56bc11e52ced' }
+ s.source_files = 'SocketRocket/*.{h,m,c}'
+ s.requires_arc = true
+ s.ios.frameworks = %w{CFNetwork Security}
+ s.osx.frameworks = %w{CoreServices Security}
+ s.osx.compiler_flags = '-Wno-format'
+ s.libraries = "icucore"
end

2 comments on commit 4ba90fb

@bensie

I am seeing the same ARC issues with Reachability as I saw with this -- how do you know which compiler flags to set?

@fabiopelosin

I've just added a commit. I didn't experience any arc issue. Regarding the compiler flags usually are needed to suppress the compiler warnings and you can find them with pod spec lint that produces an xcodebuild warning similar to -Wformat and you can change the -W to -Wno- to suppress the warning.

Please sign in to comment.
Something went wrong with that request. Please try again.