Skip to content

Instantly share code, notes, and snippets.

@ashfurrow
Forked from tonyarnold/RXCollections.podspec
Last active December 25, 2015 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashfurrow/6985326 to your computer and use it in GitHub Desktop.
Save ashfurrow/6985326 to your computer and use it in GitHub Desktop.
Note that this is OSX only. Don't know how to deal with the whole NSSize/CGSize, etc dance.
Pod::Spec.new do |s|
s.name = "RXCollections"
s.version = "1.2.1"
s.summary = "map, filter, fold, and detect for Cocoa collections."
s.homepage = "https://github.com/robrix/RXCollections"
s.license = 'BSD'
s.platform = :osx, '10.8'
s.author = { "Rob Rix" => "rob.rix@me.com" }
s.framework = 'Foundation'
s.source = { :git => "https://github.com/robrix/RXCollections.git", :tag => "#{s.version}" }
s.source_files = 'RXCollections/*.{h,m}', 'External/Lagrangian/Lagrangian/*.{h,m}', 'External/Lagrangian/External/RXPreprocessing/*.{h,m}'
s.requires_arc = true
s.prepare_command = <<-'END'
find . -regex '.*\.[hm]' -exec sed -i '' -E 's@<Lagrangian/(.*)\.h>@<RXCollections/\1.h>@' {} \;
END
end
@ashfurrow
Copy link
Author

-> RXCollections (1.2.1)
- ERROR | [OSX] [xcodebuild] RXCollections/External/Lagrangian/Lagrangian/L3TestRunner.m:47:1: error: unexpected '@' in program
- ERROR | [OSX] [xcodebuild] RXCollections/External/Lagrangian/Lagrangian/L3TestRunner.m:176:103: error: use of undeclared identifier 'test_function'
- ERROR | [OSX] [xcodebuild] RXCollections/External/Lagrangian/Lagrangian/L3TestRunner.m:190:103: error: use of undeclared identifier 'test_function'
- ERROR | [OSX] [xcodebuild] RXCollections/External/Lagrangian/Lagrangian/L3TestRunner.m:223:1: error: missing context for method declaration
- ERROR | [OSX] [xcodebuild] RXCollections/External/Lagrangian/Lagrangian/L3TestRunner.m:287:1: error: missing context for method declaration
- ERROR | [OSX] [xcodebuild] RXCollections/External/Lagrangian/Lagrangian/L3TestRunner.m:301:1: error: '@EnD' must appear in an Objective-C context

@ashfurrow
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment