Skip to content
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

Move headers to apple directory #6612

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Oct 18, 2024

Summary

This PR moves iOS/macOS/tvOS headers from apple/reanimated/ to yet another apple subdirectory so that the file tree reflects the paths in #import <...>.

After this change, apple/reanimated can be added to HEADER_SEARCH_PATHS and imports like reanimated/sensor/ReanimatedSensor.h will work properly.

Test plan

@efstathiosntonas
Copy link
Contributor

Thanks @tomekzaw!

ps. fking headers are so annoying to work with

@tomekzaw
Copy link
Member Author

tomekzaw commented Oct 18, 2024

@efstathiosntonas Just FYI, today later on I will also submit another PR that should fix the headers when linking statically. This is just a pre-requirement for the workaround and I really wanted to do it in a separate PR.

@tomekzaw tomekzaw added this pull request to the merge queue Oct 18, 2024
Merged via the queue into main with commit 2dd2fa2 Oct 18, 2024
14 checks passed
@tomekzaw tomekzaw deleted the @tomekzaw/move-headers-to-apple-directory branch October 18, 2024 14:32
tomekzaw added a commit that referenced this pull request Oct 21, 2024
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

This PR moves iOS/macOS/tvOS headers from `apple/reanimated/` to yet
another `apple` subdirectory so that the file tree reflects the paths in
`#import <...>`.

After this change, `apple/reanimated` can be added to
`HEADER_SEARCH_PATHS` and imports like
`reanimated/sensor/ReanimatedSensor.h` will work properly.

<!-- Provide a minimal but complete code snippet that can be used to
test out this change along with instructions how to run it and a
description of the expected behavior. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants