NS + Angular | IOS Simulator stuck on NativeScript Splash or black app screen

Offen
#5,696 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
angular, ios, javascript, typescript
Bereich
cli, mobile

Rechercherichtung

Beginne damit, das Problem mit tns run ios --bundle unter Verwendung der angegebenen Versionen von macOS, Xcode, NativeScript und Node zu reproduzieren, und untersuche anschließend die Ausgabe des iOS-Simulators, um herauszufinden, warum die App auf dem Splash-Screen oder einem schwarzen Bildschirm bleibt. Als erledigt gilt die Aufgabe, wenn die Beispiel-App normal im Simulator startet und ihren einzigen Bildschirm erreicht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug-pending-triage
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
Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NativeScript/nativescript-cli

Alle Issues in NativeScript/nativescript-cli

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.