NativeScript / NativeScript/nativescript-cli
NS + Angular | IOS Simulator stuck on NativeScript Splash or black app screen
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
Issue Description
When i try to launch the created app on my ios simulator on my MacBook Pro, it gets stuck on a black screen when opening the app (iPhone) or on the blue NativeScript launch screen (iPad).
The app in question is simply a single screen with an input field, button and a text field that copies the input field text to the text field when clicking the button. The only CSS used is to make the button coloured and the displayed text centered and bold.
Have tried:
- Restarting MacBook Pro
- Restarting Simulator
- Changing Simulator device
- Deleting node_modules folder and running npm install
- Invalidating IntelliJ caches
- Shaking device
- Erasing all content and settings from device
Reproduction
'tns run ios --bundle'
Relevant log output (if applicable)
No response
Environment
OS: macOS 12.6
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Shell: /bin/zsh
node: 18.11.0
npm: 8.19.2
nativescript: 8.3.3
# android
java: 11.0.17
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found
# ios
xcode: 14.0.1/14A400
cocoapods: 1.11.3
python: 3.10.8
python3: 3.10.8
ruby: 2.7.6
platforms:
- DriverKit 21.4
- iOS 16.0
- macOS 12.3
- tvOS 16.0
- watchOS 9.0
### Dependencies
json
"dependencies": {},
"devDependencies": {
"tslint": "^6.1.3",
"typescript": "^4.8.4"
}
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
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.
Línea de trabajo
Comienza reproduciendo el problema con tns run ios --bundle usando las versiones indicadas de macOS, Xcode, NativeScript y Node; después inspecciona la salida del simulador de iOS para determinar por qué la aplicación permanece en la pantalla de inicio o en una pantalla negra. Se considera completado cuando la aplicación de ejemplo se inicia normalmente en el simulador y llega a su única pantalla.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, ios, javascript, typescript
- Área
- cli, mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100