NativeScript / NativeScript/nativescript-cli

DeviceType from was NULL

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

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

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

説明

Environment

  • CLI: 6.3.3
  • Cross-platform modules: 6.3.2
  • Android Runtime: 6.3.1
  • iOS Runtime: 6.3.0
  • Plugin(s):
│ @angular/animations                     │ ~8.2.0   │
│ @angular/common                         │ ~8.2.0   │
│ @angular/compiler                       │ ~8.2.0   │
│ @angular/core                           │ ~8.2.0   │
│ @angular/forms                          │ ~8.2.0   │
│ @angular/platform-browser               │ ~8.2.0   │
│ @angular/platform-browser-dynamic       │ ~8.2.0   │
│ @angular/router                         │ ~8.2.0   │
│ @nativescript/theme                     │ ^2.2.1   │
│ @ngx-translate/core                     │ ^11.0.1  │
│ @ngx-translate/http-loader              │ ^4.0.0   │
│ @nstudio/nativescript-loading-indicator │ ^3.0.1   │
│ lodash                                  │ ^4.17.15 │
│ moment                                  │ ^2.24.0  │
│ nativescript-angular                    │ ^8.20.4  │
│ nativescript-camera                     │ ^4.5.0   │
│ nativescript-carousel                   │ ^6.1.1   │
│ nativescript-plugin-firebase            │ ^10.3.3  │
│ nativescript-theme-core                 │ ^2.0.24  │
│ nativescript-ui-autocomplete            │ ^6.0.0   │
│ nativescript-ui-listview                │ ^8.0.1   │
│ reflect-metadata                        │ ~0.1.12  │
│ rxjs                                    │ ^6.4.0   │
│ tns-core-modules                        │ ^6.3.2   │
│ zone.js                                 │ ^0.9.1 

Describe the bug

When trying tns run ios --device="device_Id_here" --hmr I get the following error:

Building project...
Xcode build...
2020-01-26 21:47:40.730 xcodebuild[16347:64933]  DTDeviceKit: deviceType from {{uuid}} was NULL
2020-01-26 21:47:41.956 xcodebuild[16347:64853] [MT] DTDeviceKit: deviceType from {{uuid}} was NULL

To Reproduce

tns run ios --device="device_Id_here" --hmr
or
tns build ios --for-device

Expected behavior
App successfully build and deployed to my device

Sample project
Sadly I can't provide you with a sample project but happy to provide any logs necessary.

Additional context
Hello everyone, before anything thanks for taking the time to try to help me with my issue. This error starting to happen a few nights ago. I have seen it before but usually unplugging and plugin my phone back fixed it. Now I can't get past it and I am stuck!

Note: When I build the app with XCode it successfully builds but not when using the commands mentioned above.

Please help 🙏🏽
Thanks!

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

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

はじめの一歩

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

調査の方向性

まず、指定された NativeScript および iOS 環境で tns run ios --device="device_Id_here" --hmr または tns build ios --for-device を再現し、その後 CLI の結果を成功した Xcode ビルドと比較します。CLI ビルドが完了し、DTDeviceKit の deviceType ... was NULL エラーなしでアプリがデバイスにデプロイされれば完了です。

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

評価

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

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

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