Skip to content

Commit 54aa7e6

Browse files
committed
Build error + podfile + pbxproj
1 parent 9d0b3c3 commit 54aa7e6

3 files changed

Lines changed: 542 additions & 360 deletions

File tree

packages/react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ - (void)mountChildComponentView:(RCTUIView<RCTComponentViewProtocol> *)childComp
180180
// Without this change, the new child will not be rendered right away because the didUpdateReactSubviews is not
181181
// called and the `finalizeUpdate` is not invoked.
182182
if ([childComponentView isKindOfClass:[RCTLegacyViewManagerInteropComponentView class]]) {
183-
UIView *target = ((RCTLegacyViewManagerInteropComponentView *)childComponentView).contentView;
183+
RCTPlatformView *target = ((RCTLegacyViewManagerInteropComponentView *)childComponentView).contentView; // [macOS]
184184
[_adapter.paperView insertReactSubview:target atIndex:index];
185185
} else {
186186
[_adapter.paperView insertReactSubview:childComponentView atIndex:index];

0 commit comments

Comments
 (0)