-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Fix Travis podspec CI for Cxx bridge #14100
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
Conversation
The build is stalling in untarring boost, which is also what I saw on my local machine when running this script. |
121d10d
to
3ca7446
Compare
third-party-podspecs/GLog.podspec
Outdated
@@ -6,12 +6,34 @@ Pod::Spec.new do |spec| | |||
spec.summary = 'Google logging module' | |||
spec.authors = 'Google' | |||
|
|||
# Keep in sync with ios-configure-glog.sh |
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.
Not sure you want to do this, but just to put the idea out there -- since this file is just Ruby code, it can read from ios-configure-glog.sh or some other shared file so that the two don't need to manually be kept in sync.
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.
Yeah, I considered that. I guess if people install them through NPM we should have the same file available locally, but cocoapod's linting procedure may not copy these files over. I'll give it a try.
78aa36b
to
c4d6c2e
Compare
6a84da4
to
3139a59
Compare
Podspec run passes! https://travis-ci.org/facebook/react-native/jobs/248978123 |
c65c8fb
to
0f2d052
Compare
@javache has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Fixed the test script to properly setup our third-party deps and tweaked the third-party specs a bit so they work correctly. This currently works for projects using static libraries, but fails when using dynamic libraries (`--use-libraries`) cc mhorowitz alloy Closes #14100 Differential Revision: D5380728 Pulled By: javache fbshipit-source-id: e78b6bd4466ebf2bf30b7e361eff10ec14b36a55
Fixed the test script to properly setup our third-party deps and tweaked the third-party specs a bit so they work correctly.
This currently works for projects using static libraries, but fails when using dynamic libraries (
--use-libraries
)cc @mhorowitz @alloy