-
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
vendored_libraries for podspec #512
Conversation
cc @maxbritto I'm seeing a failure in systemTests/multiProject1. Creating a PR to see if the automatic build sees the same issue. |
@@ -159,7 +159,8 @@ class PodspecTask extends DefaultTask { | |||
" spec.resources = '$resourceDir/**/*'\n" + | |||
" spec.requires_arc = true\n" + | |||
" spec.libraries = " + // continuation of same line | |||
"'ObjC', 'guava', 'javax_inject', 'jre_emul', 'jsr305', 'z', 'icucore', '$libName'\n" + | |||
"'ObjC', 'guava', 'javax_inject', 'jre_emul', 'jsr305', 'z', 'icucore'\n" + | |||
" spec.vendored_libraries = '$libName'\n" + |
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.
did you try what max suggested in the bug?
use the filename as 'lib${libName}.a'
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.
well he used the full path, but you have a library search path
It appears to be a transient failure, so I'm expecting the build to succeed. |
hmm what was the failure? Travis isn't building the xc project anyway |
8dca219
to
37d2b90
Compare
I believe it was due to using an old plugin build. Haven't seen it since. The vendored_libraries has been separated out by OS. Example:
|
3957649
to
601a3f5
Compare
Still need to test this but it should work. |
Are you sure you don't need a |
I haven't tested it yet. Fixed by adding the ".a" suffix. |
I will of course test it before merging. |
Cool, logically LGTM. Merge whenever it passes. |
vendored_libraries - spec.libraries relpaced with spec.{ios|osx|watchos}.vendored_libraries - j2objc lib LIBRARY_SEARCH_PATH xcconfig removed min OS versions switch to older defaults - minIosVersion = ‘6.0’ - minOsxVersion = ’10.4’ - minWatchosVersion = ‘1.0’
vendored_libraries for podspec
Fixes #460