DeviceType from was NULL
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- ios, javascript
Rechercherichtung
Beginne damit, tns run ios --device="device_Id_here" --hmr oder tns build ios --for-device mit der angegebenen NativeScript- und iOS-Umgebung zu reproduzieren, und vergleiche anschließend das CLI-Ergebnis mit einem erfolgreichen Xcode-Build. Als erledigt gilt es, wenn der CLI-Build abgeschlossen wird und die App auf dem Gerät bereitgestellt wird, ohne die DTDeviceKit-Fehler deviceType ... was NULL.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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!
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NativeScript/nativescript-cli
-
in-progress
NativeScript/nativescript-cli#6140 · 2 Kommentare · 1 zugewiesene Person ·
-
NativeScript/nativescript-cli#6090 · 1 zugewiesene Person ·
-
in progress
NativeScript/nativescript-cli#6015 · 1 Reaktion · 1 zugewiesene Person ·
-
question
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
NativeScript/nativescript-cli#5992 · 5 Kommentare ·
-
feature-pending-triage
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
NativeScript/nativescript-cli#5975 ·