Test Command does not work properly if Scheme name is different from the name of the app
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- ios, react-native, typescript
- Área
- build-system, mobile, testing-qa
Línea de trabajo
Comienza siguiendo la ruta de iOS utilizada por yarn owl test y compárala con el flujo exitoso de yarn owl build --platform ios. Inspecciona cómo los valores workspace, scheme, configuration y device de la configuración generan el comando xcrun simctl install. La tarea estará terminada cuando un scheme y un app name distintos puedan compilar y ejecutar pruebas desde una sola configuración.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Code Sandbox link
No response
Bug report
When using this config file in the build which is the proper one to build our app:
"ios": {
"workspace": "ios/Foo.xcworkspace",
"scheme": "Foo",
"configuration": "Debug",
"device": "iPhone 15",
},
We are able to build successfully with this command yarn owl build --platform ios but when we try to run the test command, it fails to launch the app with this error:
shortMessage: 'Command failed with exit code 2: xcrun simctl install iPhone 15 Foo.app',
command: 'xcrun simctl install iPhone 15 Foo.app',
escapedCommand: 'xcrun simctl install "iPhone 15" Foo.app',
But if we change now the Scheme to the name of the App we are able to run the tests with this new config
"ios": {
"workspace": "ios/Foo.xcworkspace",
"scheme": "Bar",
"configuration": "Debug",
"device": "iPhone 15",
},
So we need to have one config to build the app and another to run the tests.
- Lenguaje dominante
- TypeScript
- Estrellas
- 694
- Forks
- 27
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FormidableLabs/react-native-owl
-
Actively Maintained ?Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 5/100
FormidableLabs/react-native-owl#194 · 3 comentarios · 1 reacción ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
FormidableLabs/react-native-owl#190 · 1 comentario · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
FormidableLabs/react-native-owl#188 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
FormidableLabs/react-native-owl#186 · 1 comentario · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Todos los issues de FormidableLabs/react-native-owl
Issues similares
-
docs(api): openapi.yaml still documents gif-tools optimize colors as 2-256 instead of 2, 4, 16, 256Abiertoarea: backend documentation priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
snapotter-hq/SnapOtter#2919 ·
Los mantenedores suelen responder en 1 día
-
BUG: Uncaught MEMORY USAGE error on Redis < 4.0 causes keys table data load to fail entirelyAbiertoaccepted :+1: bug db/redis
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
beekeeper-studio/beekeeper-studio#4882 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
ready-for-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
konflux-ci/konflux-ui#1630 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
ahmedkhaleel2004/gitdiagram#233 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
simkimsia/netlify-axi#19 ·
Los mantenedores suelen responder en 1 día