-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Pod] Preserve header directory structure #508
Conversation
Brilliant! I was having some trouble with the podspec over the weekend but I'm glad someone figured it out. I'll check this out tomorrow (it's getting late here in London) and we can merge this in. Thanks a bunch! 😅 |
On a related note I was thinking it could be good to include 'pod install' as part of the integration tests especially if not a lot of people at facebook are actively using the podspec. |
Looking at this now. |
The React code has relative imports like `#import "../React/Base/Layout.h"`. CocoaPods by default flattens the header files so they're all in a single directory, but specifying `header_mappings_dir` in the podspec preserves the directory structure.
Committed in 18cb5d0. |
Summary: The React code has relative imports like `#import "../React/Base/Layout.h"`. CocoaPods by default flattens the header files so they're all in a single directory, but specifying `header_mappings_dir` in the podspec preserves the directory structure. Closes facebook#508 Github Author: James Ide <ide@jameside.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
Summary: The React code has relative imports like `#import "../React/Base/Layout.h"`. CocoaPods by default flattens the header files so they're all in a single directory, but specifying `header_mappings_dir` in the podspec preserves the directory structure. Closes facebook#508 Github Author: James Ide <ide@jameside.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
Summary: The React code has relative imports like `#import "../React/Base/Layout.h"`. CocoaPods by default flattens the header files so they're all in a single directory, but specifying `header_mappings_dir` in the podspec preserves the directory structure. Closes facebook#508 Github Author: James Ide <ide@jameside.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
Summary: Just cherry-picked my commit from #508 Closes facebook/yoga#542 Differential Revision: D5002335 Pulled By: emilsjolander fbshipit-source-id: 3f61a235c41627e9cfb90dce150323f11892e65f
Summary: Just cherry-picked my commit from facebook#508 Closes facebook/yoga#542 Differential Revision: D5002335 Pulled By: emilsjolander fbshipit-source-id: 3f61a235c41627e9cfb90dce150323f11892e65f
Summary: Just cherry-picked my commit from facebook#508 Closes facebook/yoga#542 Differential Revision: D5002335 Pulled By: emilsjolander fbshipit-source-id: 3f61a235c41627e9cfb90dce150323f11892e65f
accessibilityIgnoresInvertColors was incorrectly a H3 when it should be a H4 for consistency.
Summary: I'm not going to merge this as it is, this is mostly for discussions with the community for the sake of RFC facebook#508 react-native-community/discussions-and-proposals#508 Here I'm setting up a :ReactAndroid:external-artifacts Gradle module which is responsible of uploading arbitrary artifacts to Maven (Central or any other repo). In this specific example I'm uploading the Hermes iOS tarball which is 500+ Mb. In this module I've configured the auth with Sonatype for publishing and the GPG signing of the artifacts. Changelog: [Internal] [Changed] - Store the iOS Hermes tarball on Maven Differential Revision: D39886167 fbshipit-source-id: 66edae7f83df35525dc8cccd68bb5bb3a5e02a12
The React code has relative imports like
#import "../React/Base/Layout.h"
. CocoaPods by default flattens the header files so they're all in a single directory, but specifyingheader_mappings_dir
in the podspec preserves the directory structure.