Skip to content

fix(spm): fix pre-existing macOS porting bugs#2869

Merged
Saadnajmi merged 2 commits intomicrosoft:mainfrom
Saadnajmi:saad/fix-macos-porting-bugs
Mar 23, 2026
Merged

fix(spm): fix pre-existing macOS porting bugs#2869
Saadnajmi merged 2 commits intomicrosoft:mainfrom
Saadnajmi:saad/fix-macos-porting-bugs

Conversation

@Saadnajmi
Copy link
Collaborator

Summary

Fixes compilation errors that block macOS SPM builds, helping unblock #2815.

  • RCTLinkingManager: combined iOS and macOS implementations into a single file
    using #if TARGET_OS_OSX guards. Added missing NativeLinkingManagerSpec
    conformance (openSettings, sendIntent, getTurboModule), removed unused
    import, deleted the macos/ overlay directory, and cleaned up the podspec
  • RCTCursor.m: replaced Foundation.h + conditional AppKit.h with RCTUIKit
    umbrella header
  • RCTViewComponentView.mm: removed duplicate cursor property check introduced
    during merge

Test plan

  • macOS SPM build passes (verified on feature/spm-macos-support — zero errors from these files)
  • Verify iOS build is not regressed

🤖 Generated with Claude Code

Saadnajmi and others added 2 commits March 21, 2026 00:26
[pull] main from microsoft:main
- RCTLinkingManager.mm: combine iOS and macOS implementations into a
  single file using #if TARGET_OS_OSX guards, remove macos/ overlay
  directory, and clean up podspec
- RCTCursor.m: replace Foundation + conditional AppKit imports with
  RCTUIKit umbrella header
- RCTViewComponentView.mm: remove duplicate cursor property check
  introduced during merge

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Saadnajmi Saadnajmi requested a review from a team as a code owner March 23, 2026 04:46
@changeset-bot
Copy link

changeset-bot bot commented Mar 23, 2026

⚠️ No Changeset found

Latest commit: edb768a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Saadnajmi Saadnajmi merged commit 85ab8c2 into microsoft:main Mar 23, 2026
16 checks passed
@Saadnajmi Saadnajmi deleted the saad/fix-macos-porting-bugs branch March 23, 2026 19:07
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.

2 participants