Test Command does not work properly if Scheme name is different from the name of the app
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- ios, react-native, typescript
- Ambito
- build-system, mobile, testing-qa
Direzione di ricerca
Inizia tracciando il percorso iOS usato da yarn owl test e confrontalo con il flusso riuscito di yarn owl build --platform ios. Verifica in che modo i valori workspace, scheme, configuration e device della configurazione producono il comando xcrun simctl install. Il lavoro è completato quando uno scheme e un app name distinti possono eseguire la build e i test a partire da un’unica configurazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 694
- Fork
- 27
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FormidableLabs/react-native-owl
-
Actively Maintained ?Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 5/100
FormidableLabs/react-native-owl#194 · 3 commenti · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 30/100
FormidableLabs/react-native-owl#190 · 1 commento · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
FormidableLabs/react-native-owl#188 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
FormidableLabs/react-native-owl#186 · 1 commento · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Tutte le issue di FormidableLabs/react-native-owl
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
OpenPetsHQ/openpets#273 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fritzprix/libr-agent#2161 ·
I maintainer di solito rispondono entro 1 giorno
-
macOS: clicking a menu item that has a submenu closes the menu instead of opening the submenuAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
blackboardsh/electrobun#581 ·
-
backlog-skill effort:xs frontend infra ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
LucasSantana-Dev/Lucky#2862 ·
I maintainer di solito rispondono entro 1 giorno