Upgraded to 9.1.2 and Project no longer builds on CLI

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

The log points at the XML page home/home-page.xml (element Page) and app-root.xml, plus home-page.js where pageLoaded runs; the trace shows an unrecognized selector on a tagged date object, so the failure is probably in the module lookup or the iOS runtime bridge. The reproduction section is empty, so first build a minimal project on 9.1.2 and reproduce the crash on the simulator. Done means the app starts again and the Page module resolves, with a regression check on the sample app.

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

説明

bug-pending-triage
Issue Description

Updated a project to 9.1.2 and ran in to many issues.

Debugger doesn't show individual JS files, only files such as bundle.js and App no longer starts on simulator crashing out immediately. Home-page.js run pageLoaded.

I can open the Workspace file in Xcode, and it will build and run without issue.

Also Xcode shows Rosetta again all simulators which I've not seen before.

Reproduction

No response

Relevant log output (if applicable)
CLI eventually shows this

home/home-page.xml Module 'Page' not found for element 'Page'.
   > -[__NSTaggedDate _isRootViewController]: unrecognized selector sent to instance 0xdf863a7bdf510077
  app-root.xml Building UI from XML. @home/home-page.xml:1:1
   > Module 'Page' not found for element 'Page'.
     > -[__NSTaggedDate _isRootViewController]: unrecognized selector sent to instance 0xdf863a7bdf510077

Environment

MacOS 15.7.9 Xcode 26.

Please accept these terms
主要言語
JavaScript
スター
1.1k
フォーク
203
平均マージ
3日 4時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

NativeScript/nativescript-cli のほかの issue

NativeScript/nativescript-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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