Skip to content

Instantly share code, notes, and snippets.

@gabro
Created July 10, 2015 14:46
Show Gist options
  • Save gabro/4bb06cfb7680a1f159dc to your computer and use it in GitHub Desktop.
Save gabro/4bb06cfb7680a1f159dc to your computer and use it in GitHub Desktop.
ReactiveCocoa v3.0-beta.9 Podspec
Pod::Spec.new do |s|
s.name = "ReactiveCocoa"
s.version = "3.0-beta.9"
s.summary = "A framework for composing and transforming streams of values"
s.description = <<-DESC
ReactiveCocoa (RAC) is an Objective-C framework for Functional Reactive Programming. It provides APIs for composing and transforming streams of values.
DESC
s.homepage = "https://github.com/ReactiveCocoa/ReactiveCocoa"
s.license = "MIT"
s.author = { "Josh Abernathy" => "[email protected]" }
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :tag => "v3.0-beta.9" }
s.default_subspecs = "UI"
s.dependency "Box", "~> 1.2.0"
s.dependency "Result", "~> 0.4.1"
s.subspec 'no-arc' do |sub|
sub.source_files = "ReactiveCocoa/Objective-C/RACObjCRuntime.{h,m}"
sub.requires_arc = false
sub.frameworks = "Foundation"
end
s.subspec 'Core' do |sub|
sub.source_files = "ReactiveCocoa/**/*.{d,h,m,swift}"
sub.exclude_files =
"**/ReactiveCocoa.h",
"ReactiveCocoa/**/*{RACObjCRuntime,AppKit,NSControl,NSText,NSTable,UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UICollectionReusableView,UIControl,UIDatePicker,UIGestureRecognizer,UIImagePicker,UIRefreshControl,UISegmentedControl,UISlider,UIStepper,UISwitch,UITableViewCell,UITableViewHeaderFooterView,UIText,MK}*"
sub.header_dir = "ReactiveCocoa"
sub.private_header_files =
"**/*Private.h",
"**/*EXTRuntimeExtensions.h",
"**/RACEmpty*.h"
sub.frameworks = "Foundation"
sub.dependency "ReactiveCocoa/no-arc"
end
s.subspec 'UI' do |sub|
sub.dependency "ReactiveCocoa/Core"
sub.frameworks = "Foundation"
sub.ios.source_files =
"**/ReactiveCocoa.h",
"ReactiveCocoa/**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UICollectionReusableView,UIControl,UIDatePicker,UIGestureRecognizer,UIImagePicker,UIRefreshControl,UISegmentedControl,UISlider,UIStepper,UISwitch,UITableViewCell,UITableViewHeaderFooterView,UIText,MK}*"
sub.ios.frameworks = "UIKit"
sub.osx.source_files =
"**/ReactiveCocoa.h",
"ReactiveCocoa/**/*{AppKit,NSControl,NSText,NSTable}*"
sub.osx.frameworks = "AppKit"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment