-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add podspec ✔️ #11
Add podspec ✔️ #11
Conversation
Pitometsu
commented
Oct 1, 2016
- Fix few unused lint errors.
According to #10 Please, check and merge to Also, there's some minor fixes to avoid lint warnings. |
4444200
to
43f9b60
Compare
$ pod spec lint
-> ReactiveObjC (1.0.0)
- WARN | xcodebuild: ReactiveObjC/ReactiveObjC/RACCompoundDisposable.m:85:12: warning: unused variable 'result' [-Wunused-variable]
- WARN | xcodebuild: ReactiveObjC/ReactiveObjC/RACCompoundDisposable.m:132:12: warning: unused variable 'result' [-Wunused-variable]
- WARN | xcodebuild: ReactiveObjC/ReactiveObjC/RACSerialDisposable.m:63:12: warning: unused variable 'result' [-Wunused-variable]
- WARN | xcodebuild: ReactiveObjC/ReactiveObjC/RACSerialDisposable.m:79:12: warning: unused variable 'result' [-Wunused-variable]
Analyzed 1 podspec.
[!] The spec did not pass validation, due to 4 warnings (but you can use `--allow-warnings` to ignore them). |
- Fix few unused lint errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add a linting job to .travis.yml
? (ReactiveSwift does this if you need an example.)
s.documentation_url = "https://github.com/ReactiveCocoa/ReactiveObjC/"\ | ||
"tree/master/Documentation#readme" | ||
|
||
s.author = { "Josh Abernathy" => "josh@github.com" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you set the author to be ReactiveCocoa
to match what ReactiveSwift does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s.requires_arc = true | ||
|
||
s.frameworks = "Foundation" | ||
s.dependency "Result", "~> 2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReactiveObjC doesn't depend on Result.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdiep done, please, check c302fbe#diff-354f30a63fb0907d4ad57269548329e3R58. |
- Add pod lint to travis script.
Thanks! |
I've released 1.0.1 with the build warning fixes and push the podspec to CocoaPods trunk. 🚀 |
ReactiveObjC: upgrade to Xcode 9.
Add podspec ✔️