Skip to content

Commit

Permalink
fix(build): fixes React-RCTText build with RN 0.69.0 (#34064)
Browse files Browse the repository at this point in the history
Summary:
Fixes iOS build for React-RCTText with RN 0.69.0, fixes #33976

PR contains changes from #33976 (comment)

PoC repo: https://github.com/ph4r05/poc-rn-34064

Related issues:
- expo/expo#16283
- #33815
- #33976

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - Fix build for React-RCTText

Pull Request resolved: #34064

Reviewed By: cortinico

Differential Revision: D37420163

Pulled By: cipolleschi

fbshipit-source-id: 68a831bce9f449348d13e040a1ba12726a66667d
  • Loading branch information
ph4r05 authored and facebook-github-bot committed Jun 29, 2022
1 parent 297b571 commit 4ea38e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions React/Views/RCTShadowView.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#import <UIKit/UIKit.h>

#import <React/RCTComponent.h>
// Keeps RCTConvert.h here before yoga for clang module to generate correct header imports.
#import <React/RCTConvert.h>
#import <React/RCTLayout.h>
#import <React/RCTRootView.h>
#import <yoga/Yoga.h>
Expand Down

0 comments on commit 4ea38e1

Please sign in to comment.