Support SwiftPM in @react-native-harness/ui
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react-native, swift, typescript
- Lĩnh vực
- build-system, mobile
Hướng nghiên cứu
Start by inspecting the @react-native-harness/ui package’s podspec, package contents, native sources, and SwiftPM configuration conventions in React Native 0.88. Add a Package.swift, its autolinking name in swiftpmConfig, include the manifest in the npm package, and ensure native sources compile without CocoaPods prefix-header imports. Verify with npx react-native spm in a React Native 0.88 app; the app should build while CocoaPods support remains available.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
@react-native-harness/ui ships a CocoaPods podspec but no Package.swift. React Native's SwiftPM autolinker therefore cannot build HarnessUI in an app that uses SwiftPM for its native dependencies.
This affects the published 1.5.0 package and the current 1.6.0 source on main. We hit it while moving Nitro's example app to React Native 0.88 and SwiftPM: https://github.com/margelo/nitro/pull/1781.
To reproduce, install @react-native-harness/ui in a React Native 0.88 app and run npx react-native spm. The dependency has no package manifest, so the autolinker requires a locally scaffolded manifest before the app can build.
The UI package should ship a SwiftPM manifest and its autolinking name in swiftpmConfig, including the manifest in its npm package. Its native sources also need to compile without CocoaPods' implicit prefix-header imports. The existing podspec can remain for CocoaPods apps.
I will send a PR for the native UI package. Harness's runner already accepts a built app; this does not require changing how tests run or adding SwiftPM support to optional native coverage.
- Ngôn ngữ chính
- TypeScript
- Star
- 333
- Fork
- 20
- Merge trung bình
- 1 ngày 37 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstackincubator/react-native-harness
-
--metroPort is documented, but the CLI rejects it as an unrecognized optionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
callstackincubator/react-native-harness#199 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows Android SDK path not foundCó thể đã có người làm @V3RON đã nhận 37 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
callstackincubator/react-native-harness#183 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
callstackincubator/react-native-harness#128 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support Windows hostsĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
callstackincubator/react-native-harness#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The pre-push hook builds the same packages twice at onceCó thể đã có người làm @V3RON đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
callstackincubator/react-native-harness#225 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstackincubator/react-native-harness
Issue tương tự
-
skillopt: success-reflect prompt omits the edit schema, so every success-only edit is droppedĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Workspace secrets/constants containing "$" are corrupted when resolved in data source optionsĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
mobile-next/mobile-mcp#526 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
e2e-failure ready-to-code
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
redhat-developer/rhdh-plugin-export-overlays#4470 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày