Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Stop autolinking iOS-only Node-API modules when running `pod install` for `react-native-macos`

未關閉
#272 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
macos, react-native, typescript

研究方向

首先追蹤 react-native-macos 在 pod install 期間使用的 autolinking 入口點,並比較 @nativescript/ios-node-api 與 @nativescript/macos-node-api。完成標準是:在 macOS 安裝過程中省略僅適用於 iOS 的模組,同時保持 macOS 模組處於連結狀態,並解決回報的建置失敗問題。

由索引模型根據 Issue 內容生成。

描述

Here, I have an iOS + macOS project that installs both @nativescript/ios-node-api and @nativescript/macos-node-api.

For one thing, there's no need to link the iOS package when I'm running a pod install for my macOS app, and yet it still does so:

Image

For another thing, I seem to be getting a relevant build failure. I wonder if my macOS app is being forced to link against the iOS framework or something?

Image

For now, I'll work round it by uninstalling @nativescript/ios-node-api from this demo repo. Just trying to see some signs of life.

主要語言
TypeScript
星號
188
分支
10
平均合併
2 天 17 小時
30 天內合併 PR
3

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

callstackincubator/react-native-node-api 的其他 Issue

查看 callstackincubator/react-native-node-api 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。