NativeScript / NativeScript/nativescript-cli

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

オープン
#5,696 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug-pending-triage
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、報告されている macOS、Xcode、NativeScript、Node のバージョンを使用して tns run ios --bundle で問題を再現し、その後 iOS シミュレータの出力を調べて、アプリがスプラッシュ画面または黒い画面のままになる理由を確認します。サンプルアプリがシミュレータで正常に起動し、単一の画面に到達すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, ios, javascript, typescript
領域
cli, mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。