-
Notifications
You must be signed in to change notification settings - Fork 43
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
generated podspec failing validation #591
Comments
Hi @pellet, I tried the lint test on my local build and it showed the same error that you saw (copied below). At the same time, I was able to successfully install it with v0.39.0. I'd suggest first trying the upgrade to v0.39.0 and seeing if that makes any difference. The podspec files have been stable for quite a long time. Many people have used it without reporting any issues, so I'm curious why it's different for you. Are you manually running the If you're game to improve this, then it would be relatively simple to modify the generated podspec in the PodspecTask.groovy file: For publicly shared pods, I think it's fair to demand those attributes. For a local project, it's a bit of a nuisance to require setting all that up just for a local build. It would be better to make it easy to use for the initial version. Lint Failure:
Working pod install for my local build using Cocoapods v0.39.0 and plugin 0.6.0-alpha
|
I upgraded to .39 but still the same problem. pod install CocoaPods 1.0.0.beta.2 is available. For more information see http://blog.cocoapods.org Analyzing dependencies |
I am having the same issue as @pellet using cocoapods version 0.39.0. It looks as if it installs the j2objc pods fine, but in reality it only installs the other pods. No lockfiles have any mentions of my j2objc-created pods. |
Version 0.39 for me works, however 1.0 that was installed by default do not. |
I had the same problem with 0.6.1-alpha and Cocoapods 1.0.1. Downgrade of Cocoapods resolved it. I will try updating PodSpecTask.groovy, and if I can get that to fly submit PR back. |
The generated pod will not install into xcode via pod install on version .38 with the gradle .6-alpha version.
I am forced to integrate the java files myself.
a run of the command pod spec lint --verbose gives
-> Installing j2objc-shared-debug (1.0)
-> j2objc-shared-debug (1.0)
- ERROR | Missing required attribute
authors
.- WARN | Missing required attribute
license
.- ERROR | Missing required attribute
homepage
.- ERROR | Missing required attribute
source
.- WARN | Missing license type.
- ERROR | [iOS] Encountered an unknown error (Requires params) during validation.
Analyzed 1 podspec.
The text was updated successfully, but these errors were encountered: