NativeScript / NativeScript/nativescript-cli
NS + Angular | IOS Simulator stuck on NativeScript Splash or black app screen
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.1k
- Forks
- 204
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 8
Descrição
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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece reproduzindo o problema com tns run ios --bundle usando as versões informadas do macOS, Xcode, NativeScript e Node; em seguida, inspecione a saída do simulador do iOS para descobrir por que o aplicativo permanece na tela de splash ou em uma tela preta. O trabalho estará concluído quando o aplicativo de exemplo iniciar normalmente no simulador e chegar à sua única tela.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- angular, ios, javascript, typescript
- Domínio
- cli, mobile
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100