Skip to content

[Fabric] Remaining fixes for Fabric building on macOS target #1685

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

Merged
merged 9 commits into from
Jan 25, 2023

Conversation

shwanton
Copy link

@shwanton shwanton commented Jan 24, 2023

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Fabric on macOS implementation:
Remaining fixes/shims for Fabric successfully building on macOS target

Closes #1567

Changelog

[macOS][Added] - Remaining fixes for Fabric building on macOS target

Interactions are broken so any input will result in a crash.
Follow on PR will address these issues.

NOTE: To test, this should to be merged after the remaining Fabric PR's

Test Plan

[x] Build RNTester-macOS w/ Fabric - Builds! 🚀
CleanShot 2023-01-24 at 12 03 14

[x] Build RNTester - iOS w/ Fabric
CleanShot 2023-01-23 at 21 50 43

[x] Build RNTester-macOS w/ Paper
CleanShot 2023-01-24 at 10 37 38

[x] Build RNTester - iOS w/ Paper
CleanShot 2023-01-24 at 12 17 23

@shwanton shwanton marked this pull request as ready for review January 24, 2023 20:17
@shwanton shwanton requested a review from a team as a code owner January 24, 2023 20:17
@Saadnajmi
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Saadnajmi Saadnajmi merged commit e3d15a8 into microsoft:main Jan 25, 2023
@shwanton shwanton deleted the fabric/fix-shims-and-build branch January 25, 2023 17:52
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
…ft#1685)

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
…ft#1685)

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
# Conflicts:
#	React/Fabric/Mounting/ComponentViews/UnimplementedView/RCTUnimplementedViewComponentView.mm
#	React/Fabric/RCTSurfacePresenter.mm

# Conflicts:
#	React/Base/macOS/RCTUIKit.m
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
…ft#1685)

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
# Conflicts:
#	React/Fabric/Mounting/ComponentViews/UnimplementedView/RCTUnimplementedViewComponentView.mm
#	React/Fabric/RCTSurfacePresenter.mm

# Conflicts:
#	React/Base/macOS/RCTUIKit.m
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.

Fix linker errors - RCTScreenScale, RCTScreenSize
2 participants