Skip to content

Instantly share code, notes, and snippets.

@Igor-Palaguta
Last active February 1, 2017 10:48
Show Gist options
  • Save Igor-Palaguta/7168788537d3ef8f98cc9de3f4c00894 to your computer and use it in GitHub Desktop.
Save Igor-Palaguta/7168788537d3ef8f98cc9de3f4c00894 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = 'libPusher'
s.version = '1.6.1'
s.license = 'MIT'
s.summary = 'An Objective-C client for the Pusher.com service'
s.homepage = 'https://github.com/lukeredpath/libPusher'
s.author = 'Luke Redpath'
s.source = { :git => 'https://github.com/lukeredpath/libPusher.git', :tag => 'v1.6.1' }
s.requires_arc = true
s.header_dir = 'Pusher'
s.default_subspec = 'Core'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.subspec 'Core' do |subspec|
subspec.dependency 'SocketRocket'
subspec.source_files = 'Library/**/*.{h,m}'
subspec.private_header_files = 'Library/Private Headers/*'
subspec.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'kPTPusherClientLibraryVersion=@\"1.6\"'
}
end
s.subspec 'ReactiveExtensions' do |subspec|
subspec.dependency 'libPusher/Core'
subspec.dependency 'ReactiveObjC'
subspec.source_files = 'ReactiveExtensions/*'
subspec.private_header_files = 'ReactiveExtensions/*_Internal.h'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment