question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DeviceType from was NULL

See original GitHub issue

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!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cavalos0086commented, Jan 29, 2020

Thanks for the reply @DimitarTachev .

The problem is that it doesn’t ALWAYS happen. Sometimes it does, but sometimes it doesn’t. I would to generated with an empty angular app this weekend and I would let you know.

Thanks again

0reactions
DimitarTachevcommented, Feb 24, 2020

@cavalos0086

Thanks for the additional details but there’s nothing strange with these logs.

Could you clarify if your output stays forever on the last line of these logs or it keeps printing such CompileC messages?

If it stays forever on the last line of these logs, we will need the state of your local processes (ps -ef) in order to investigate it further. If it keeps printing CompileC logs, I suggest you wait a few hours (maybe the project is really huge or the machine is really slow) and if it’s still printing these logs, we will need a sample project reproducing this behavior.

We’ve also noticed that you are executing the command in a fish shell. It is almost impossible to be caused by the shell but you cloud also try building the app in bash.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DTDeviceKit: deviceType Null - ios - Stack Overflow
Open YourProjectFolder/ios/Runner.xcworkspace; Build the Runner project; Go back to your flutter project and try to run it again. The first ...
Read more >
DTDeviceKit: deviceType from <DEVICE ID> was NULL ...
I've downloaded the Geocoder-Sample project from Appcelerator and it compiles and sends to the same device no problem. There is no code done....
Read more >
Device Type is null when deploying custom simulated devices
Device type, and Telemetry are always null but I have given the correct values in the json properties area. This is distrurbing as...
Read more >
flutter/flutter - Gitter
DTDeviceKit: deviceType from f4eecc24594038090b91fd7bbccaeb34c82defa7 was NULL. (FSEvents.framework) fsevent_realpath: err(2): [No such file or directory].
Read more >
iOS Question DTDeviceKit: deviceType from ... was NULL error...
Just installed correctly in my iphone 10xs (ios 13) b4i-bridge... but every time i try to compile an app i got this error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found