-
-
Save kviksilver/ea087555141c6a90414d975ebfb89f31 to your computer and use it in GitHub Desktop.
Reactive cocoa 4.1.0 podspec for Cocoapods 1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ReactiveCocoa", | |
"version": "4.1.0", | |
"summary": "A framework for composing and transforming streams of values.", | |
"description": "ReactiveCocoa (RAC) is an Objective-C framework for Functional Reactive Programming.\nIt provides APIs for composing and transforming streams of values.", | |
"homepage": "https://github.com/ReactiveCocoa/ReactiveCocoa", | |
"license": { | |
"type": "MIT", | |
"file": "LICENSE.md" | |
}, | |
"authors": { | |
"Josh Abernathy": "[email protected]" | |
}, | |
"platforms": { | |
"ios": "8.0", | |
"osx": "10.9", | |
"tvos": "9.0", | |
"watchos": "2.0" | |
}, | |
"source": { | |
"git": "https://github.com/ReactiveCocoa/ReactiveCocoa.git", | |
"tag": "v4.1.0" | |
}, | |
"dependencies": { | |
"Result": [ | |
"~> 2.0" | |
] | |
}, | |
"frameworks": "Foundation", | |
"default_subspecs": "UI", | |
// "prepare_command": "sed -i '' 's@<ReactiveCocoa/\\(.*\\)>@\"\\1\"@g' ReactiveCocoa/ReactiveCocoa.h", | |
"prepare_command": " find . \\( -regex '.*EXT.*\\.[mh]$' -o -regex '.*metamacros\\.[mh]$' \\) -execdir mv {} RAC{} \\;\n find . -regex '.*\\.[hm]' -exec sed -i '' -E 's@\"(EXT.*|metamacros)\\.h\"@\"RAC\\1.h\"@' {} \\;\n find . -regex '.*\\.[hm]' -exec sed -i '' -E 's@<ReactiveCocoa/(EXT.*)\\.h>@<ReactiveCocoa/RAC\\1.h>@' {} \\;\n", | |
"subspecs": [ | |
{ | |
"name": "no-arc", | |
"source_files": "ReactiveCocoa/Objective-C/RACObjCRuntime.{h,m}", | |
"requires_arc": false | |
}, | |
{ | |
"name": "Core", | |
"source_files": "ReactiveCocoa/**/*.{d,h,m,swift}", | |
"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}*" | |
], | |
"header_dir": "ReactiveCocoa", | |
"private_header_files": [ | |
"**/*Private.h", | |
"**/*EXTRuntimeExtensions.h", | |
"**/RACEmpty*.h" | |
], | |
"dependencies": { | |
"ReactiveCocoa/no-arc": [ | |
] | |
}, | |
"watchos": { | |
"exclude_files": "**/NSURLConnection*", | |
"pod_target_xcconfig": { | |
"GCC_PREPROCESSOR_DEFINITIONS": "DTRACE_PROBES_DISABLED=1" | |
} | |
} | |
}, | |
{ | |
"name": "UI", | |
"dependencies": { | |
"ReactiveCocoa/Core": [ | |
] | |
}, | |
"ios": { | |
"source_files": [ | |
"**/ReactiveCocoa.h", | |
"ReactiveCocoa/**/*{UIActionSheet,UIAlertView,UIBarButtonItem,UIButton,UICollectionReusableView,UIControl,UIDatePicker,UIGestureRecognizer,UIImagePicker,UIRefreshControl,UISegmentedControl,UISlider,UIStepper,UISwitch,UITableViewCell,UITableViewHeaderFooterView,UIText,MK}*" | |
], | |
"frameworks": "UIKit" | |
}, | |
"osx": { | |
"source_files": [ | |
"**/ReactiveCocoa.h", | |
"ReactiveCocoa/**/*{AppKit,NSControl,NSText,NSTable}*" | |
], | |
"frameworks": "AppKit" | |
}, | |
"tvos": { | |
"source_files": [ | |
"**/ReactiveCocoa.h", | |
"ReactiveCocoa/**/*{UIButton,UICollectionReusableView,UIControl,UIGestureRecognizer,UISegmentedControl,UITableViewCell,UITableViewHeaderFooterView,UIText}*" | |
] | |
}, | |
"watchos": { | |
"source_files": "**/ReactiveCocoa.h" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment