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

Abierto
#1,297 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
c, cpp, ios, java, javascript, nodejs, swift, wasm

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Swift
Estrellas
4k
Forks
376
Merge medio
1 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de thebaselab/codeapp

Todos los issues de thebaselab/codeapp

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.