wasm, node, java & javac missing when Code App is built from GitHub repo

Đang mở
#1,297 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue nà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
15/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c, cpp, ios, java, javascript, nodejs, swift, wasm
Lĩnh vực
build-system, mobile

Hướng nghiên cứu

Start with downloadFrameworks.sh and the Resources folder that Code.xcodeproj copies into the app bundle, then compare the attached Resources.txt dump to see which of the wasm, node, java and javac binaries are missing. Done means the C/C++ hello world finds wasm and the JavaScript and Java hello worlds find node, java and javac in a build made from the repo on a device.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Device: iPad Pro M4, iOS 26.2
Paid developer account

I cloned the repo, ran downloadFrameworks.sh (which completed without error), opened Code.xcodeproj, switched the development team to my team, changed the bundle identifier of Code App and extension to match my organization, set an appropriate App Group and built without issue.
When installed on my iPad, I created "empty" source files containing only the hello world for C, C++, JavaScript and Java.

For C and C++ there is an error message in the Terminal Tab, complaining that "wasm" can't be found, for JavaScript "node" is reported missing, as is "java" and "javac" for Java.

I've attached a dump of what's inside my Resources folder at build time to this issue. Let me know if you need anything else.

Resources.txt

The other languages seem to work, although python executes the script but then crashes with a bus error if the last line is empty.

Ngôn ngữ chính
Swift
Star
4k
Fork
376
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của thebaselab/codeapp

Tất cả issue của thebaselab/codeapp

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.