Repository navigation
Commit 6c0ae3a
committed
Fix duplicated react/utils prefix in React-utils static header layout
The platformios subspec inherits header_dir "react/utils" from the parent
spec, and maps its headers relative to "platform/ios" — a directory whose
own layout already starts with react/utils. In a non-frameworks build both
layers are applied in sequence, so the platform headers land at
Pods/Headers/{Public,Private}/React-utils/react/utils/react/utils/*.h.
Because of that, #include <react/utils/LowPriorityExecutor.h> — reached from
the React/Utils.h umbrella, which several modules now include — cannot be
resolved and RNTester fails to build in the default static configuration:
Pods/Headers/Public/React-utils/React/Utils.h:36:10: fatal error:
'react/utils/LowPriorityExecutor.h' file not found
Clear the inherited header_dir on the subspec instead of moving the mapping
directory: the mapping already contributes the react/utils prefix, and
header_dir does not take part in the framework header copy path, so the
USE_FRAMEWORKS layout (React_utils.framework/Headers/react/utils/*.h) is
unchanged.1 parent 085caf0 commit 6c0ae3a
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments