Skip to content

Commit

Permalink
Move headers to apple directory (#6612)
Browse files Browse the repository at this point in the history
<!-- 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. -->
  • Loading branch information
tomekzaw committed Oct 21, 2024
1 parent 1e6ed83 commit 7d14cea
Show file tree
Hide file tree
Showing 55 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions apps/fabric-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2229,11 +2229,11 @@ SPEC CHECKSUMS:
RNCPicker: d051e0647af8b2ad01a3d39a6b5dd9b7c0ccc166
RNFlashList: 6f169ad83e52579b7754cbbcec1b004c27d82c93
RNGestureHandler: c374c750a0a9bacd95f5c740d146ab9428549d6b
RNReanimated: 8ad1573711ca38673125fc9a774bfd0040e6e1f1
RNReanimated: 3eda8373a520a38427b68054026b5a8d40d42cfe
RNScreens: de6e57426ba0e6cbc3fb5b4f496e7f08cb2773c2
RNSVG: 08750404f92a36162a92522cc77dee437be1d257
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 2a74e67570a7902969ff44f35dd41f47a9693be8
Yoga: 8833bd4378ffd79f1dea711d6dc7231c09e63590

PODFILE CHECKSUM: 3eb88d49c8fe32af0ac2c85501e29d29171f1070

Expand Down
4 changes: 2 additions & 2 deletions apps/macos-example/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1270,10 +1270,10 @@ SPEC CHECKSUMS:
RNCAsyncStorage: ec53e44dc3e75b44aa2a9f37618a49c3bc080a7a
RNCPicker: 0173dedc74776227ec6dcc61bb85cd9f07bbb2ac
RNGestureHandler: bb81850add626ddd265294323310fec6e861c96b
RNReanimated: c9553b713ac50df956e2ad3a0576690211bfcc31
RNReanimated: 857daa16ccc117c0491ad6950c9579cb436295df
RNSVG: 01eb8d8a0e2289ec3ecc9626ce920e00d2174992
SocketRocket: f6c6249082c011e6de2de60ed641ef8bbe0cfac9
Yoga: 0639c9c8a20ae8043b0b64e2ef6d7a2cd5806aac
Yoga: 329461de6a23b9e0c108d197fd0f6e87c8c8ecf2

PODFILE CHECKSUM: ddae34ca2842288eb8f70e6df3c2d638c2f56027

Expand Down
4 changes: 2 additions & 2 deletions apps/paper-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2019,11 +2019,11 @@ SPEC CHECKSUMS:
RNCPicker: 0173dedc74776227ec6dcc61bb85cd9f07bbb2ac
RNFlashList: 115dd44377580761bff386a0caebf165424cf16f
RNGestureHandler: 6dfe7692a191ee224748964127114edf057a1475
RNReanimated: 47ffa5dbd10add47b77de7b0f5848346f21df0c6
RNReanimated: 3ffdf9d59cc891c4cbd29b5182ed845aea6ec187
RNScreens: 19719a9c326e925498ac3b2d35c4e50fe87afc06
RNSVG: 01eb8d8a0e2289ec3ecc9626ce920e00d2174992
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 2a74e67570a7902969ff44f35dd41f47a9693be8
Yoga: 8833bd4378ffd79f1dea711d6dc7231c09e63590

PODFILE CHECKSUM: 44956aee8c836a85949aa1fa8dde2c10e661633e

Expand Down
4 changes: 2 additions & 2 deletions apps/tvos-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1267,9 +1267,9 @@ SPEC CHECKSUMS:
React-runtimescheduler: 20b2202e3396589a71069d12ae9f328949c7c7b8
React-utils: 0307d396f233e47a167b5aaf045b0e4e1dc19d74
ReactCommon: 17891ca337bfa5a7263649b09f27a8c664537bf2
RNReanimated: 6b9a23735fd2d6ad4249a07a1525c9778287587d
RNReanimated: fe28ce0f9e7a41852e6b0e0b5ac557236ae39db9
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Yoga: ab50eb8f7fcf1b36aad1801b5687b66b2c0aa000
Yoga: e7f2a2256464d4ef7b3825d216bd22aac3b449c1

PODFILE CHECKSUM: c2efe42da2b9ce73832f8f03df86727f3f712fff

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-reanimated/RNReanimated.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Pod::Spec.new do |s|

ss.subspec "apple" do |sss|
sss.source_files = "apple/reanimated/**/*.{mm,h,m}"
sss.header_dir = "reanimated/apple"
sss.header_dir = "reanimated"
sss.header_mappings_dir = "apple/reanimated"
end
end
Expand Down

0 comments on commit 7d14cea

Please sign in to comment.